[cfe-commits] r71246 - in /cfe/trunk/utils/ABITest: ABITestGen.py Makefile.test.common return-types-32/Makefile return-types-64/Makefile single-args-32/Makefile single-args-64/Makefile
Daniel Dunbar
daniel at zuster.org
Fri May 8 13:10:53 PDT 2009
Author: ddunbar
Date: Fri May 8 15:10:52 2009
New Revision: 71246
URL: http://llvm.org/viewvc/llvm-project?rev=71246&view=rev
Log:
ABITest: Move default set of test args into common makefile.
Also, tweak default list of bit-fields to try.
Added:
cfe/trunk/utils/ABITest/single-args-32/Makefile
cfe/trunk/utils/ABITest/single-args-64/Makefile
Modified:
cfe/trunk/utils/ABITest/ABITestGen.py
cfe/trunk/utils/ABITest/Makefile.test.common
cfe/trunk/utils/ABITest/return-types-32/Makefile
cfe/trunk/utils/ABITest/return-types-64/Makefile
Modified: cfe/trunk/utils/ABITest/ABITestGen.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/ABITestGen.py?rev=71246&r1=71245&r2=71246&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/ABITestGen.py (original)
+++ cfe/trunk/utils/ABITest/ABITestGen.py Fri May 8 15:10:52 2009
@@ -430,7 +430,7 @@
action="store", type=str, default='v2i16, v1i64, v2i32, v4i16, v8i8, v2f32, v2i64, v4i32, v8i16, v16i8, v2f64, v4f32, v16f32', metavar="N")
group.add_option("", "--bit-fields", dest="bitFields",
help="comma separated list 'type:width' bit-field specifiers [default %default]",
- action="store", type=str, default="char:0,char:4,unsigned:0,unsigned:13")
+ action="store", type=str, default="char:0,char:4,unsigned:0,unsigned:4,unsigned:13,unsigned:24")
group.add_option("", "--max-args", dest="functionMaxArgs",
help="maximum number of arguments per function [default %default]",
action="store", type=int, default=4, metavar="N")
Modified: cfe/trunk/utils/ABITest/Makefile.test.common
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/Makefile.test.common?rev=71246&r1=71245&r2=71246&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/Makefile.test.common (original)
+++ cfe/trunk/utils/ABITest/Makefile.test.common Fri May 8 15:10:52 2009
@@ -1,5 +1,7 @@
# -*- Makefile -*-
+TESTARGS := --no-unsigned --no-vector --no-complex --no-bool --no-bit-field
+
ABITESTGEN := ../ABITestGen.py
ifndef VERBOSE
Modified: cfe/trunk/utils/ABITest/return-types-32/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/return-types-32/Makefile?rev=71246&r1=71245&r2=71246&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/return-types-32/Makefile (original)
+++ cfe/trunk/utils/ABITest/return-types-32/Makefile Fri May 8 15:10:52 2009
@@ -4,7 +4,6 @@
# file, and TESTARGS is used to change the type generation. Make sure
# to 'make clean' after changing either of these parameters.
-TESTARGS := --no-vector --no-complex --max-record-depth 0 --bit-fields "char:2,char:0,char:4" --max-args 0 --max-record 2 --no-builtins
COUNT := 1
TIMEOUT := 5
@@ -21,3 +20,5 @@
CC_CFLAGS := -m32
include ../Makefile.test.common
+
+TESTARGS += --max-args 0
Modified: cfe/trunk/utils/ABITest/return-types-64/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/return-types-64/Makefile?rev=71246&r1=71245&r2=71246&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/return-types-64/Makefile (original)
+++ cfe/trunk/utils/ABITest/return-types-64/Makefile Fri May 8 15:10:52 2009
@@ -4,7 +4,6 @@
# file, and TESTARGS is used to change the type generation. Make sure
# to 'make clean' after changing either of these parameters.
-TESTARGS := --max-args 0 --no-unsigned --no-bit-field
COUNT := 1
TIMEOUT := 5
@@ -21,3 +20,5 @@
CC_CFLAGS := -m64
include ../Makefile.test.common
+
+TESTARGS += --max-args 0
Added: cfe/trunk/utils/ABITest/single-args-32/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/single-args-32/Makefile?rev=71246&view=auto
==============================================================================
--- cfe/trunk/utils/ABITest/single-args-32/Makefile (added)
+++ cfe/trunk/utils/ABITest/single-args-32/Makefile Fri May 8 15:10:52 2009
@@ -0,0 +1,24 @@
+# Usage: make test.N.report
+#
+# COUNT can be over-ridden to change the number of tests generated per
+# file, and TESTARGS is used to change the type generation. Make sure
+# to 'make clean' after changing either of these parameters.
+
+COUNT := 1
+TIMEOUT := 5
+
+CFLAGS := -std=gnu99
+
+X_COMPILER := gcc
+X_LL_CFLAGS := -emit-llvm -S
+Y_COMPILER := clang
+Y_LL_CFLAGS := -emit-llvm -S
+CC := gcc
+
+X_CFLAGS := -m32
+Y_CFLAGS := -m32
+CC_CFLAGS := -m32
+
+include ../Makefile.test.common
+
+TESTARGS += --no-function-return --max-args 1
Added: cfe/trunk/utils/ABITest/single-args-64/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/single-args-64/Makefile?rev=71246&view=auto
==============================================================================
--- cfe/trunk/utils/ABITest/single-args-64/Makefile (added)
+++ cfe/trunk/utils/ABITest/single-args-64/Makefile Fri May 8 15:10:52 2009
@@ -0,0 +1,24 @@
+# Usage: make test.N.report
+#
+# COUNT can be over-ridden to change the number of tests generated per
+# file, and TESTARGS is used to change the type generation. Make sure
+# to 'make clean' after changing either of these parameters.
+
+COUNT := 1
+TIMEOUT := 5
+
+CFLAGS := -std=gnu99
+
+X_COMPILER := gcc
+X_LL_CFLAGS := -emit-llvm -S
+Y_COMPILER := clang
+Y_LL_CFLAGS := -emit-llvm -S
+CC := gcc
+
+X_CFLAGS := -m64
+Y_CFLAGS := -m64
+CC_CFLAGS := -m64
+
+include ../Makefile.test.common
+
+TESTARGS += --no-function-return --max-args 1
More information about the cfe-commits
mailing list