Dmitry V. Levin | 679c47c | 2015-01-23 22:45:02 +0000 | [diff] [blame] | 1 | #!/bin/sh -eu |
2 | |||||
Dmitry V. Levin | 1e04e57 | 2015-12-08 00:13:38 +0000 | [diff] [blame] | 3 | for m in m32 mx32; do |
4 | tests=tests-$m | ||||
Elvira Khabirova | b1c448c | 2015-07-16 16:34:49 +0300 | [diff] [blame] | 5 | rm -rf $tests |
6 | mkdir $tests | ||||
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 7 | s='[[:space:]]*' |
8 | sed "s/@arch@/@arch_$m@/;s/^MPERS_NAME$s=.*/& $m/;s/^ARCH_MFLAGS$s=.*/& -$m/" \ | ||||
Elvira Khabirova | b1c448c | 2015-07-16 16:34:49 +0300 | [diff] [blame] | 9 | tests/Makefile.am > $tests/Makefile.am |
Dmitry V. Levin | 679c47c | 2015-01-23 22:45:02 +0000 | [diff] [blame] | 10 | for f in tests/*; do |
Mike Frysinger | 11cb0da | 2015-02-26 22:22:40 -0500 | [diff] [blame] | 11 | case "${f##*/}" in |
Dmitry V. Levin | dca5110 | 2015-03-04 14:50:19 +0000 | [diff] [blame] | 12 | Makefile*) continue;; |
Mike Frysinger | 11cb0da | 2015-02-26 22:22:40 -0500 | [diff] [blame] | 13 | esac |
Elvira Khabirova | b1c448c | 2015-07-16 16:34:49 +0300 | [diff] [blame] | 14 | ln -s ../"$f" $tests/ |
Dmitry V. Levin | 679c47c | 2015-01-23 22:45:02 +0000 | [diff] [blame] | 15 | done |
16 | done | ||||
17 | |||||
Elvira Khabirova | 0929422 | 2015-08-04 01:47:02 +0300 | [diff] [blame] | 18 | ./generate_mpers_am.sh |
Dmitry V. Levin | 5cb45b2 | 2015-11-20 01:43:12 +0000 | [diff] [blame] | 19 | ./xlat/gen.sh |
Dmitry V. Levin | 679c47c | 2015-01-23 22:45:02 +0000 | [diff] [blame] | 20 | |
Dmitry V. Levin | 3e69bdf | 2014-04-25 22:52:06 +0000 | [diff] [blame] | 21 | exec autoreconf -f -i "$@" |