Dmitry V. Levin
10eab9db85
Also, since -k option does not support multiple personalities, add strace-k.test to XFAIL_TESTS when running mpers tests. * tests/Makefile.am (MPERS_NAME, LIBUNWIND_TESTS, XFAIL_TESTS_, XFAIL_TESTS_m32, XFAIL_TESTS_mx32, XFAIL_TESTS): New variables. [USE_LIBUNWIND] (LIBUNWIND_TESTS): Add strace-k.test. (TESTS): Replace strace-k.test with $(LIBUNWIND_TESTS). * bootstrap: Substitute MPERS_NAME variable in tests-*/Makefile.am. * tests/strace-k.test: Do not check for -k option availability.
22 lines
397 B
Bash
Executable File
22 lines
397 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
for m in m32 mx32; do
|
|
tests=tests-$m
|
|
rm -rf $tests
|
|
mkdir $tests
|
|
s='[[:space:]]*'
|
|
sed "s/@arch@/@arch_$m@/;s/^MPERS_NAME$s=.*/& $m/;s/^ARCH_MFLAGS$s=.*/& -$m/" \
|
|
tests/Makefile.am > $tests/Makefile.am
|
|
for f in tests/*; do
|
|
case "${f##*/}" in
|
|
Makefile*) continue;;
|
|
esac
|
|
ln -s ../"$f" $tests/
|
|
done
|
|
done
|
|
|
|
./generate_mpers_am.sh
|
|
./xlat/gen.sh
|
|
|
|
exec autoreconf -f -i "$@"
|