3 # prepare the hard or soft link allexec32 and allexec64
4 # On 'single arch' compiled Valgrind, allexec32 and allexec64 will point
5 # to the same executable.
6 # On 'bi-arch', they will point respectively to the executable compiled
7 # for the revelant arch.
8 # This allows to test the various exec system calls the same way.
13 if ..
/..
/tests
/arch_test
$1 || ..
/..
/tests
/arch_test
$2
15 if ..
/..
/tests
/arch_test
$1
17 ln -f $1/allexec allexec32
19 ln -f -s allexec64 allexec32
21 if ..
/..
/tests
/arch_test
$2
23 ln -f $2/allexec allexec64
25 ln -f -s allexec32 allexec64
33 pair s390x_unexisting_in_32bits s390x
36 pair nanomips nanoMIPS_unexisting_in_64bits