aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Expand)AuthorAgeFilesLines
* benchmarks: quick-run scripts for mitmproxy and mitmdumpAldo Cortesi2018-05-082-0/+4
* benchmark: keep track of requests/responses seen by proxyAldo Cortesi2018-05-081-0/+10
* options: add the concept of deferred settingsAldo Cortesi2018-05-081-1/+10
* remove leftover processing_completeMaximilian Hils2018-05-061-3/+1
* Remove allowremote addon, add an improved take called blockAldo Cortesi2018-05-062-61/+63
* Merge pull request #3099 from Kriechi/fix-3024Aldo Cortesi2018-05-061-13/+35
|\
| * fix #3024Thomas Kri
#
# Copyright (C) 2007-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

TMP_DIR ?= $(TOPDIR)/tmp
ifeq ($(if $(TARGET_BUILD),,$(DUMP)),)
  -include $(TMP_DIR)/.host.mk
endif

ifneq ($(__host_inc),1)
__host_inc:=1

export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)

try-run = $(shell set -e; \
	TMP_F="$(TMP_DIR)/try-run.$$$$.tmp"; \
	if ($(1)) >/dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; \
	rm -f "$$TMP_F"; \
)

host-cc-option = $(call try-run, \
	$(HOSTCC) $(HOST_CFLAGS) $(1) -c -xc /dev/null -o "$$TMP_F",$(1),$(2) \
)

.PRECIOUS: $(TMP_DIR)/.host.mk
$(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
	@mkdir -p $(TMP_DIR)
	@( \
		HOST_OS=`uname`; \
		case "<
5-51323/+0< Linux) HOST_ARCH=`uname -m`;; \ Darwin) HOST_ARCH=7-75/+64
|/
* Merge pull request #3059 from obscure76/enh/issue-3053Aldo Cortesi2018-04-161-1/+1
|\
| * fix Python 3.6 variable type annotations #3053oscure762018-04-141-1/+1
* | Merge pull request #3050 from kira0204/error-scriptAldo Cortesi2018-04-152-7/+23
|\ \
| * | Handling user script exceptions, fix #2839kira02042018-04-102-7/+23
| |/
* / readfile: add a readfile_filter optionAldo Cortesi2018-04-141-39/+55
|/
* asyncio: ditch the handler contextAldo Cortesi2018-04-072-2/+4
* asyncio: remove master.add_log, in favor of a persistent log.Log instanceAldo Cortesi2018-04-071-1/+1
* asyncio: remove test master.has_logAldo Cortesi2018-04-076-28/+38
* asyncio: move log mechanism onto the event loopAldo Cortesi2018-04-0717-91/+114
* asyncio simplify: we don't need a queue for proxy->main loop commsAldo Cortesi2018-04-078-63/+65
* asyncio: remove last vestiage of channel input from masterAldo Cortesi2018-04-071-10/+9
* Merge pull request #3031 from itzikBraun/add-httpie-exportAldo Cortesi2018-04-061-1/+29
|\
| * added option to export request as httpie commanditzikBraun2018-04-021-1/+29
* | Merge pull request #2971 from kira0204/user-script-exceptionAldo Cortesi2018-04-061-3/+15
|\ \
| * | use error handler functionkira02042018-03-261-3/+3
| * | User script exception handler[squash]kira02042018-03-071-0/+12
* | | fix http retry timeoutMaximilian Hils2018-04-051-38/+6
* | | minor fixesAldo Cortesi2018-04-032-10/+4
* | | asyncio: factor out test server startup waitAldo Cortesi2018-04-033-12/+7
* | | asyncio: cleanup and lintAldo Cortesi2018-04-022-2/+7
* | | asyncio: test cleanupAldo Cortesi2018-04-023-8/+18
* | | asyncio: make http2 tests passAldo Cortesi2018-04-022-2/+6
* | | asyncio: fix a few remaining issues in proxy/test_server.pyAldo Cortesi2018-04-022-9/+14
* | | asyncio: fix channel interface and testsAldo Cortesi2018-04-012-19/+23