summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-21 15:43:22 +0200
committersternenseemann <git@lukasepple.de>2020-09-21 16:14:15 +0200
commit1d36edc7883dc9b9461b4e3248a596c4b0279b50 (patch)
tree50b00a2b2b0cec2b61c0ae78b81d8f9d87443e55
parent58628d7279d427ac96e7f3263bc97376cf74efd4 (diff)
fix(test): fix test execution in nix
redo-c gets confused by all target file being in the source tree, thus
not building the ignored test/*.exe.
-rw-r--r--.gitignore1
-rwxr-xr-xwarteraum/test/run2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b63ba59..733bfa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 *.o
 vgcore.*
 /warteraum/all
+/warteraum/test/all
 /warteraum/warteraum
 /warteraum/hashtoken
 /warteraum/test/*.exe
diff --git a/warteraum/test/run b/warteraum/test/run
index a337b99..50a1d2b 100755
--- a/warteraum/test/run
+++ b/warteraum/test/run
@@ -3,6 +3,8 @@
 set -e
 cd "$(dirname "$0")"
 
+redo all
+
 echo -e "\n# queue tests\n"
 ./test_queue.exe
 echo -e "\n# form parsing tests\n"