bootstrap: always set up test dirs
When files get updated, the bootstrap script should make sure the parallel dirs are kept in sync. * bootstrap: Always generate the test$m. Clean up symlinks first. Don't link in Makefile.in files.
This commit is contained in:
parent
58c7fe9903
commit
11cb0da472
@ -1,13 +1,14 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
for m in -m32 -mx32; do
|
||||
mkdir tests$m ||
|
||||
continue
|
||||
mkdir -p tests$m
|
||||
find tests$m -type l -delete
|
||||
sed "s/^AM_CFLAGS[[:space:]]*=.*/& $m/" \
|
||||
tests/Makefile.am > tests$m/Makefile.am
|
||||
for f in tests/*; do
|
||||
[ "${f##*/}" != Makefile.am ] ||
|
||||
continue
|
||||
case "${f##*/}" in
|
||||
Makefile.am|Makefile.in) continue;;
|
||||
esac
|
||||
ln -s ../"$f" tests$m/
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user