chiark / gitweb /
docs: wip new syntax
[subdirmk.git] / tests / check
1 #!/bin/sh
2 set -ex
3
4 cd example
5 git clean -xdff
6 ./autogen.sh && ./configure
7 make -j4 all check
8 make -j4 clean
9 make -j4 all check
10
11 git clean -xdff
12 mkdir build
13 cd build
14 >>../src/for-test.sd.mk
15 >>../lib/for-test.mk.in
16 .././autogen.sh && ../configure
17 make -j4 all check
18
19 echo '# for-check 1' >>../src/for-test.sd.mk
20 make -j4
21 grep '^# for-check 1' src/Subdir.mk || false
22
23 echo '# for-check 2' >>../lib/for-test.mk.in
24 make -j4
25 grep '^# for-check 2' lib/for-test.mk || false
26
27 echo ok.