]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Add makefile for tests
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 10 May 2021 14:21:53 +0000 (16:21 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 10 May 2021 14:21:53 +0000 (16:21 +0200)
Makefile.tests [new file with mode: 0644]

diff --git a/Makefile.tests b/Makefile.tests
new file mode 100644 (file)
index 0000000..bb3052b
--- /dev/null
@@ -0,0 +1,13 @@
+sc = $(wildcard ../scenarios_real-world-artificial-obstacles/*)
+
+.phony: all test48
+
+all:
+       @echo "Run from `build` directory:"
+       @echo "\tmake -f ../Makefile.tests -j 32 test48"
+
+test48: $(addprefix out/test48/, $(notdir $(sc)))
+       @echo "$<"
+
+out/test48/%: $(sc)
+       bash ../scripts/test_scenario.sh $@ 20 $< test48