chiark
/
gitweb
/
~ian
/
subdirmk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test regeneration after a &:-included file (ie a .sd.mk) changes
[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
.././autogen.sh && ../configure
16
make -j4 all check
17
18
echo '# for-check 1' >>../src/for-test.sd.mk
19
make -j4
20
grep '^# for-check 1' src/Subdir.mk || false
21
22
echo ok.