]> granicus.if.org Git - strace/blob - bootstrap
tests: use fixed timestamps in utime related tests
[strace] / bootstrap
1 #!/bin/sh -eu
2
3 ./generate_mpers_am.sh
4 ./xlat/gen.sh
5 ./tests/gen_tests.sh
6
7 for m in m32 mx32; do
8         tests=tests-$m
9         rm -rf $tests
10         mkdir $tests
11         s='[[:space:]]*'
12         sed "s/@arch@/@arch_$m@/;
13              s/^MPERS_NAME$s=.*/& $m/;
14              s/^ARCH_MFLAGS$s=.*/& -DMPERS_IS_\$(MPERS_NAME) -$m/" \
15                 tests/Makefile.am > $tests/Makefile.am
16         for f in tests/*; do
17                 case "${f##*/}" in
18                 Makefile*) continue;;
19                 esac
20                 ln -s ../"$f" $tests/
21         done
22 done
23
24 exec autoreconf -f -i "$@"