aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/debug.mk
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-25 14:17:11 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-08-08 15:44:42 +0200
commit0a2052846089300000ad2607097acd71d368ee3d (patch)
treeaa109df28e0d9c79ec4c195b150b70296d786552 /src/tests/debug.mk
parentpersistent-keepalive: change range to [1,65535] (diff)
downloadwireguard-monolithic-historical-0a2052846089300000ad2607097acd71d368ee3d.tar.xz
wireguard-monolithic-historical-0a2052846089300000ad2607097acd71d368ee3d.zip
tests: use makefile and expand greatly
Diffstat (limited to '')
-rw-r--r--src/tests/debug.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tests/debug.mk b/src/tests/debug.mk
index a013c97..1b298a7 100644
--- a/src/tests/debug.mk
+++ b/src/tests/debug.mk
@@ -21,7 +21,12 @@ test: debug
-sudo modprobe x_tables
-sudo modprobe ipv6
-sudo modprobe xt_hashlimit
- ./tests/netns.sh
+ -sudo rmmod wireguard
+ -sudo insmod wireguard.ko
+ sudo PATH="$(shell pwd)/tools:$$PATH:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin" ./tests/netns.sh
+
+test-qemu:
+ $(MAKE) -C tests/qemu
remote-test:
ssh $(SSH_OPTS1) -Nf $(REMOTE_HOST1)