From: Ian Jackson Date: Wed, 13 Nov 2019 22:38:23 +0000 (+0000) Subject: tests/check: New test script, quite basic X-Git-Tag: subdirmk/0.1~37 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=commitdiff_plain;h=599fd97bfc09ebf264cfbab455d4c8c011d19d2d;hp=25a516a59e7811b8626b5fe40b49c5ef942db697 tests/check: New test script, quite basic Signed-off-by: Ian Jackson --- diff --git a/example/.gitignore b/example/.gitignore index 0b60a39..4c8a2a9 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -23,3 +23,6 @@ Makefile Subdir.mk *.tmp + +#----- For our out-of-tree build test ----- +/build diff --git a/tests/check b/tests/check new file mode 100755 index 0000000..85d7637 --- /dev/null +++ b/tests/check @@ -0,0 +1,15 @@ +#!/bin/sh +set -e + +cd example +git clean -xdff +./autogen.sh && ./configure +make -j4 all check +make -j4 clean +make -j4 all check + +git clean -xdff +mkdir build +cd build +.././autogen.sh && ../configure +make -j4 all check