aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regression/Results/builtins-x86 (renamed from test/regression/Results/builtins-ia32)0
-rwxr-xr-xtest/regression/Runtest14
-rw-r--r--test/regression/builtins-x86.c (renamed from test/regression/builtins-ia32.c)0
3 files changed, 4 insertions, 10 deletions
diff --git a/test/regression/Results/builtins-ia32 b/test/regression/Results/builtins-x86
index 393ac1fd..393ac1fd 100644
--- a/test/regression/Results/builtins-ia32
+++ b/test/regression/Results/builtins-x86
diff --git a/test/regression/Runtest b/test/regression/Runtest
index 7cc6330b..9051b5b7 100755
--- a/test/regression/Runtest
+++ b/test/regression/Runtest
@@ -9,19 +9,13 @@ out="test$$.log"
rm -f $out
trap "rm -f $out" 0 INT QUIT
-# The architecture and the model
+# The architecture and the bitsize
arch=`sed -n -e 's/^ARCH=//p' ../../Makefile.config`
-model=`sed -n -e 's/^MODEL=//p' ../../Makefile.config`
-
-# Its bit size
-case "$arch,$model" in
- ia32,64) bits=64;;
- *) bits=32;;
-esac
+bits=`sed -n -e 's/^BITSIZE=//p' ../../Makefile.config`
# The reference output
-if test -f "Results/$name-$arch-$model"; then
- ref="Results/$name-$arch-$model"
+if test -f "Results/$name-$arch-$bits"; then
+ ref="Results/$name-$arch-$bits"
elif test -f "Results/$name-$arch"; then
ref="Results/$name-$arch"
elif test -f "Results/$name-$bits"; then
diff --git a/test/regression/builtins-ia32.c b/test/regression/builtins-x86.c
index 1ba213e7..1ba213e7 100644
--- a/test/regression/builtins-ia32.c
+++ b/test/regression/builtins-x86.c