native_client/pnacl-llvm-testsuite.git
6 weeks agollvm-test-suite: Add a rule to run pnacl-finalize before translating. master
Jan Voung [Mon, 8 Apr 2013 23:09:53 +0000 (16:09 -0700)]
llvm-test-suite: Add a rule to run pnacl-finalize before translating.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=3348

Review URL: https://codereview.chromium.org/13816002

6 months agoRevert "llvm-test-suite: set a higher timeout for almabench." master-backup
Jan Voung [Mon, 22 Oct 2012 18:24:23 +0000 (11:24 -0700)]
Revert "llvm-test-suite: set a higher timeout for almabench."

This reverts commit 5fbda4d1852fccd580cddf7cca211e1546453748.

The global override takes priority over this local override.

BUG=none

Review URL: https://codereview.chromium.org/11230035

7 months agollvm-test-suite: set a higher timeout for almabench.
Jan Voung [Fri, 19 Oct 2012 17:42:38 +0000 (10:42 -0700)]
llvm-test-suite: set a higher timeout for almabench.

Sometimes it finishes within bounds, and sometimes not (on ARM qemu).
Currently we expect it to not finish, so we sometimes have
"unexpected passes" when it does finish.

BUG= red bots

Review URL: https://codereview.chromium.org/11232010

9 months agoAdd TCLSH Make variable to fix breakage from upstream r159308
Derek Schuff [Mon, 20 Aug 2012 23:58:34 +0000 (16:58 -0700)]
Add TCLSH Make variable to fix breakage from upstream r159308
They removed the autoconf stuff to find it, but the testsuite
repo still expects it to work.

BUG=broken LLVM testsuite bots
TEST=llvm testsuite bots

Review URL: https://chromiumcodereview.appspot.com/10837351

9 months agoAdd codereview.settings for Rietveld use
Derek Schuff [Mon, 20 Aug 2012 23:43:26 +0000 (16:43 -0700)]
Add codereview.settings for Rietveld use

12 months agoTestsuite: Redirect nexe stdout/stderr directly to output file. 96/21496/2
Derek Schuff [Mon, 30 Apr 2012 22:42:15 +0000 (15:42 -0700)]
Testsuite: Redirect nexe stdout/stderr directly to output file.

This, along with a change to run.py, will fix several benchmarks
which depend on the relative ordering of stdout/stderr output.

Change-Id: I3cf01a23a626471a4cc0e3692d424c8f30a0eaba

12 months agoFix some more common storage issues with lvm-test-suit 60/21460/1
Robert Muth [Mon, 30 Apr 2012 15:04:38 +0000 (11:04 -0400)]
Fix some more common storage issues with lvm-test-suit

Change-Id: I3819229b19e0d6e6e7c6e056c36e410cec487db9

12 months agoFix a few of the llvm-test-suite problems. 79/21379/2
Robert Muth [Fri, 27 Apr 2012 20:35:24 +0000 (16:35 -0400)]
Fix a few of the llvm-test-suite problems.

All of the fixed ones compile now but some still cause runtime errors.

Change-Id: I3b4b0d04cd92cb68bfbbba0abee16e8b22bc7d4b

12 months agoMerge "Convert a few tests to not use common storage"
Robert Muth [Fri, 27 Apr 2012 18:50:43 +0000 (11:50 -0700)]
Merge "Convert a few tests to not use common storage"

12 months agoConvert a few tests to not use common storage 44/21344/3
Robert Muth [Fri, 27 Apr 2012 16:56:05 +0000 (12:56 -0400)]
Convert a few tests to not use common storage

mostly adding extra "extern" keywords and moving definitions around

Change-Id: I7289e7372ae21c218b4f3303e70af6527690f0a9

12 months agoRevert "Increase runtime limit of spirit" 54/21154/1
Derek Schuff [Wed, 25 Apr 2012 23:57:24 +0000 (16:57 -0700)]
Revert "Increase runtime limit of spirit"

This reverts commit d423b686b1756a572fb3d4ac9ac31cb29a7a90c7.

Instead of doing it per-benchmark, we will override TIMEILIMIT
on the command line (several arm benchmarks are also timing out).
This will also be a change in the nacl repo instead of here.

12 months agoIncrease runtime limit of spirit 52/21152/1
Derek Schuff [Wed, 25 Apr 2012 23:45:28 +0000 (16:45 -0700)]
Increase runtime limit of spirit

Change-Id: Iac2fbaeac4241b28fa4eb06b8106eb6034571702

16 months agoMerge remote-tracking branch 'origin/upstream/master' into master 87/14587/2
Derek Schuff [Fri, 20 Jan 2012 23:48:12 +0000 (15:48 -0800)]
Merge remote-tracking branch 'origin/upstream/master' into master

Change-Id: I0734525fcdb85a4c9dfd992134c0f64afb4a018c

16 months agoFix compile time output in llvm testsuite 85/14585/1
Derek Schuff [Fri, 20 Jan 2012 23:29:34 +0000 (15:29 -0800)]
Fix compile time output in llvm testsuite

Change-Id: I162ba95b54af1fa58b8bbdb0884a0f8b8c0dc2dd

16 months agomake api local for testing.
fjahanian [Tue, 10 Jan 2012 20:52:27 +0000 (20:52 +0000)]
make api local for testing.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@147875 91177308-0d34-0410-b5e6-96231b3b80d8

16 months agoAdded test for atomic property of c++ objects
fjahanian [Tue, 10 Jan 2012 20:45:01 +0000 (20:45 +0000)]
Added test for atomic property of c++ objects
with non-trivial copy/assignment methods using the
new api. // rdar://6137845

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@147873 91177308-0d34-0410-b5e6-96231b3b80d8

16 months agoFix the test case for // rdar://6137845
fjahanian [Tue, 10 Jan 2012 01:01:46 +0000 (01:01 +0000)]
Fix the test case for // rdar://6137845

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@147822 91177308-0d34-0410-b5e6-96231b3b80d8

16 months agoBump 464.h264ref run-time limit. This appears to have failed on our ARMv7 -O0
mcrosier [Thu, 5 Jan 2012 21:21:42 +0000 (21:21 +0000)]
Bump 464.h264ref run-time limit.  This appears to have failed on our ARMv7 -O0
nightly tester due to exceeding this cap.
rdar://10650337

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@147611 91177308-0d34-0410-b5e6-96231b3b80d8

17 months agoAdd $(LIBS) to the single source build as well. 41/13141/1
Jan Voung [Mon, 19 Dec 2011 19:30:54 +0000 (11:30 -0800)]
Add $(LIBS) to the single source build as well.

17 months agoRegenerate.
echristo [Fri, 16 Dec 2011 09:04:53 +0000 (09:04 +0000)]
Regenerate.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@146731 91177308-0d34-0410-b5e6-96231b3b80d8

17 months agoUse LLVM_SRC to detect whether we have a built clang.
echristo [Fri, 16 Dec 2011 09:04:19 +0000 (09:04 +0000)]
Use LLVM_SRC to detect whether we have a built clang.

This should fix PR11047.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@146730 91177308-0d34-0410-b5e6-96231b3b80d8

17 months agoTest for r146414 checked in clang.
fjahanian [Mon, 12 Dec 2011 21:31:39 +0000 (21:31 +0000)]
Test for r146414 checked in clang.
This is for // rdar://10513599

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@146415 91177308-0d34-0410-b5e6-96231b3b80d8

17 months agoAdd pnacl-specific Makefile and report template left out of last patch 01/12501/2
Derek Schuff [Tue, 6 Dec 2011 21:28:34 +0000 (13:28 -0800)]
Add pnacl-specific Makefile and report template left out of last patch

Change-Id: I305d7b1c1b9d14a55f1f7dc68cc04d8c87f899ba

17 months agoBasic support for building pexes, translating and running them 75/12475/5
Derek Schuff [Tue, 6 Dec 2011 01:13:16 +0000 (17:13 -0800)]
Basic support for building pexes, translating and running them
PNACL_ARCH, PNACL_BIN, and PNACL_RUN are provided at the command line by a
driver script (in the pnacl repo)
Change-Id: I28ef1374cdab02ff7b07340d448d1af75403c2fe

18 months agoOn Debian testing and recent Ubuntu systems llvm-ld fails to find libc,
baldrick [Tue, 1 Nov 2011 13:38:01 +0000 (13:38 +0000)]
On Debian testing and recent Ubuntu systems llvm-ld fails to find libc,
causing every test in the nightly testsuite to fail.  But llvm-ld is only
using libc to work out which symbols to internalize, not for linking with
it.  How can libc effect which symbols are internalized?  I can see two
possibilities: either libc makes use of a function defined in the bitcode
(which it clearly doesn't) or a weak function occurs both in the bitcode
and in libc (in which case using the bitcode's copy should be OK).  Thus
there doesn't seem to any point in looking at libc and comparable system
libraries (eg: libstdc++) when internalizing, and this is confirmed by my
testing: not passing -lc or $(LIBS) when invoking llvm-ld doesn't cause
any failures.  So a simple fix for the Debian issue would be simply not
to pass them to llvm-ld.  But then the question arises: why use llvm-ld
at all rather than "opt -std-link-opts"?  This patch goes all the way
and drops llvm-ld in favour of "opt -std-link-opts".  It also removes
some apparently pointless Makefile rules, which I suspect exist because
llvm-ld produces two output files, X (a script) and X.bc (the bitcode).
With this llvm-ld is not used by the nightly testsuite at all.  It works
for me, but since I don't know the nightly testsuite infrastructure well
I may have broken something, so please review.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@143460 91177308-0d34-0410-b5e6-96231b3b80d8

18 months agoIn two cases where llvm-ld is being used as a simple bitcode linker
baldrick [Tue, 1 Nov 2011 09:22:51 +0000 (09:22 +0000)]
In two cases where llvm-ld is being used as a simple bitcode linker
use llvm-link instead.  It's not clear where llvm-ld is going: if it
will be removed or turned into a real linker.  Whichever one it is
it seems pointless to use it for this.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@143456 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoErrors here should be ignored, as they are already for all other
baldrick [Fri, 21 Oct 2011 17:04:00 +0000 (17:04 +0000)]
Errors here should be ignored, as they are already for all other
rules in this Makefile.  Otherwise the nightly test fails if clang
(or dragonegg) fails to compile some test, because this rule then
fails to convert the .ll output from clang (which doesn't exist
because clang failed) to .bc.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@142659 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoAdd report description for dbgopt.
dpatel [Tue, 18 Oct 2011 17:03:46 +0000 (17:03 +0000)]
Add report description for dbgopt.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@142362 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoFixed test. const reference properties do not
fjahanian [Mon, 17 Oct 2011 16:07:53 +0000 (16:07 +0000)]
Fixed test. const reference properties do not
require copying to temporary.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@142190 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoToT is now for 3.1.
void [Sat, 15 Oct 2011 02:09:24 +0000 (02:09 +0000)]
ToT is now for 3.1.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@142045 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoAdd FloatMM.c, a single precision version of RealMM.c
stoklund [Tue, 11 Oct 2011 21:06:52 +0000 (21:06 +0000)]
Add FloatMM.c, a single precision version of RealMM.c

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@141710 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agotest-suite/LNTBased: Add an example of how to define a minimal LNTBased test.
ddunbar [Fri, 7 Oct 2011 22:10:12 +0000 (22:10 +0000)]
test-suite/LNTBased: Add an example of how to define a minimal LNTBased test.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@141421 91177308-0d34-0410-b5e6-96231b3b80d8

19 months agoGet this compiling with gcc-4.6, which did some more header trimming.
baldrick [Wed, 5 Oct 2011 13:10:01 +0000 (13:10 +0000)]
Get this compiling with gcc-4.6, which did some more header trimming.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@141175 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoErr... 3.0svn
echristo [Fri, 23 Sep 2011 07:03:07 +0000 (07:03 +0000)]
Err... 3.0svn

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140371 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoMiscelleous updates:
echristo [Fri, 23 Sep 2011 00:51:44 +0000 (00:51 +0000)]
Miscelleous updates:

a) We're using 2.60.
b) It's llvm 2.9.
c) We no longer support systems old enough to not have standard c headers.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140359 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoEH testcase. This tests r140335.
void [Thu, 22 Sep 2011 20:33:15 +0000 (20:33 +0000)]
EH testcase. This tests r140335.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140336 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoAdd comment.
void [Thu, 22 Sep 2011 20:31:23 +0000 (20:31 +0000)]
Add comment.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140333 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoAdd a filter test to the nightly test suite.
void [Thu, 22 Sep 2011 01:34:15 +0000 (01:34 +0000)]
Add a filter test to the nightly test suite.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140286 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoMigrate the rest of the compiler checking to the testsuite from the toplevel
echristo [Wed, 21 Sep 2011 00:52:40 +0000 (00:52 +0000)]
Migrate the rest of the compiler checking to the testsuite from the toplevel
llvm configure script.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140219 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoMigrate llvm-gcc handling to the test-suite project where it belongs.
echristo [Tue, 20 Sep 2011 23:56:51 +0000 (23:56 +0000)]
Migrate llvm-gcc handling to the test-suite project where it belongs.

(Part #2 will be committed in llvm.)

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@140215 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoReenable inlined_cleanup on Darwin-ARM. This seems to be passing now.
void [Wed, 14 Sep 2011 23:13:07 +0000 (23:13 +0000)]
Reenable inlined_cleanup on Darwin-ARM. This seems to be passing now.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@139749 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoAdd some EH cleanup tests.
void [Wed, 14 Sep 2011 21:10:47 +0000 (21:10 +0000)]
Add some EH cleanup tests.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@139737 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoAdd some simple throw and rethrow exception handling tests.
void [Wed, 14 Sep 2011 20:46:19 +0000 (20:46 +0000)]
Add some simple throw and rethrow exception handling tests.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@139730 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoSilence warnings about "control may reach end of non-void function"
void [Tue, 30 Aug 2011 21:08:45 +0000 (21:08 +0000)]
Silence warnings about "control may reach end of non-void function"

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@138828 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agollc "-f" option is long gone!
bruno [Mon, 29 Aug 2011 19:42:10 +0000 (19:42 +0000)]
llc "-f" option is long gone!

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@138755 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoThe siod and consumer-lame tests appear to fail when using dragonegg,
baldrick [Fri, 26 Aug 2011 20:37:10 +0000 (20:37 +0000)]
The siod and consumer-lame tests appear to fail when using dragonegg,
because their output does not match the output when they are built
with gcc.  But in fact it is gcc that is miscompiling these tests,
so force comparison with the reference output to avoid these false
negatives.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@138650 91177308-0d34-0410-b5e6-96231b3b80d8

20 months agoMake 176.gcc work on Darwin platforms with a lower default stack size.
zwarich [Wed, 24 Aug 2011 21:03:07 +0000 (21:03 +0000)]
Make 176.gcc work on Darwin platforms with a lower default stack size.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@138480 91177308-0d34-0410-b5e6-96231b3b80d8

21 months ago176.gcc was disabled with Clang for a use of lvalue casts, but it is easy to
zwarich [Tue, 23 Aug 2011 06:20:41 +0000 (06:20 +0000)]
176.gcc was disabled with Clang for a use of lvalue casts, but it is easy to
patch yourself or get updated source from SPEC. I updated the Apple copy.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@138322 91177308-0d34-0410-b5e6-96231b3b80d8

21 months agoFix 403.gcc so it works remotely.
zwarich [Sun, 14 Aug 2011 08:04:09 +0000 (08:04 +0000)]
Fix 403.gcc so it works remotely.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@137577 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agoA useful test for //rdar://9778214
fjahanian [Sat, 16 Jul 2011 17:24:05 +0000 (17:24 +0000)]
A useful test for //rdar://9778214

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@135347 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agoreenable oggenc, lets see if it works now, it works for me.
lattner [Tue, 12 Jul 2011 06:16:44 +0000 (06:16 +0000)]
reenable oggenc, lets see if it works now, it works for me.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@134970 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agotemporarily disable oggenc to let the buildbots go green
lattner [Sun, 10 Jul 2011 22:48:43 +0000 (22:48 +0000)]
temporarily disable oggenc to let the buildbots go green

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@134881 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agoSimplify.
dpatel [Wed, 6 Jul 2011 23:39:26 +0000 (23:39 +0000)]
Simplify.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@134564 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agocleanup.
dpatel [Tue, 5 Jul 2011 23:08:55 +0000 (23:08 +0000)]
cleanup.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@134450 91177308-0d34-0410-b5e6-96231b3b80d8

22 months agoRun ms_struct tests only on x86_64. They are target dependent.
stoklund [Fri, 1 Jul 2011 17:34:20 +0000 (17:34 +0000)]
Run ms_struct tests only on x86_64. They are target dependent.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@134243 91177308-0d34-0410-b5e6-96231b3b80d8

23 months agoAdd little test harness to measure and compare quality of linenumber information...
dpatel [Fri, 17 Jun 2011 18:32:01 +0000 (18:32 +0000)]
Add little test harness to measure and compare quality of linenumber information preserved by clang. It produces .lineinfo file, for example

.|int main() {
 |  int Array[100][200], i, j;
+|  double sum = 0.0;
 |
.|  for (i=0; i < 100; i+=2)
.|    for (j=0; j < 200; j++)
.|      Array[i][j] = 0;
-|  test_indvars(Array[0], Array);
 |
x|  for (i=0; i < 100; i+=2)
x|    for (j=0; j < 200; j++)
.|      sum += Array[i][j];
 |
.|  printf("Checksum = %.0lf\n", sum);
 |
-|  return 0;
.|}

Here,

. in first column indicates both clang and base compiler preserves line number information for this line.
+ in first column indicates only clang preserves line number information for this line.
- in first column indicates neigther clang nor base compiler preserves line number information for this line.
x in first column indicates clang does not preserve line number information for this line.

CC is base compiler and LCC is clang. OPTFLAGS controls the optimization level.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@133276 91177308-0d34-0410-b5e6-96231b3b80d8

23 months agoGCC only implements #pragma ms_struct on Darwin, so don't try to test it
foad [Wed, 15 Jun 2011 14:41:19 +0000 (14:41 +0000)]
GCC only implements #pragma ms_struct on Darwin, so don't try to test it
on other platforms.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@133058 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoNot all targets have a signed plain char (implementation defined). Be explicit.
grosbach [Mon, 23 May 2011 22:24:27 +0000 (22:24 +0000)]
Not all targets have a signed plain char (implementation defined). Be explicit.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@131929 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoMake these tests return a deterministic exit code.
baldrick [Wed, 18 May 2011 14:53:50 +0000 (14:53 +0000)]
Make these tests return a deterministic exit code.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@131535 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoNew test for packed ms_struct layout.
fjahanian [Mon, 9 May 2011 22:19:23 +0000 (22:19 +0000)]
New test for packed ms_struct layout.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@131107 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoA rather exhaustive test case for ms_struct attribute.
fjahanian [Mon, 9 May 2011 22:04:36 +0000 (22:04 +0000)]
A rather exhaustive test case for ms_struct attribute.
Passes both clang and llvm-gcc. // rdar://8823265

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@131105 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTest for packing of ms_struct bitfields.
fjahanian [Wed, 4 May 2011 18:57:04 +0000 (18:57 +0000)]
Test for packing of ms_struct bitfields.
// rdar://8823265

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130852 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoMore unit tests for ms_struct and zero-length
fjahanian [Tue, 3 May 2011 22:17:46 +0000 (22:17 +0000)]
More unit tests for ms_struct and zero-length
bitfield alignment rules.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130798 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTest related to rules for zero-length bitfields
fjahanian [Tue, 3 May 2011 20:22:13 +0000 (20:22 +0000)]
Test related to rules for zero-length bitfields
in ms_struct structs. // rdar://8823265

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130784 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agobuild: Add support for an EXECUTION_ENVIRONMENT_OVERRIDES variable, which can
ddunbar [Sat, 30 Apr 2011 03:04:20 +0000 (03:04 +0000)]
build: Add support for an EXECUTION_ENVIRONMENT_OVERRIDES variable, which can
used to override various environment variables for test execution. Useful for
tweaking things like dyld library paths, for example.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130578 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoExecutable test for clang's // rdar://9309454
fjahanian [Fri, 29 Apr 2011 22:04:21 +0000 (22:04 +0000)]
Executable test for clang's // rdar://9309454

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130548 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdd missing ms_struct attribute to test.
fjahanian [Fri, 29 Apr 2011 16:35:23 +0000 (16:35 +0000)]
Add missing ms_struct attribute to test.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130512 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoExcutable test case for use of ms_struct attribute
fjahanian [Thu, 28 Apr 2011 23:44:12 +0000 (23:44 +0000)]
Excutable test case for use of ms_struct attribute
in clang. // rdar://8823265.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130459 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoUpdate to use timeit-target when running with --without-llvm.
ddunbar [Mon, 25 Apr 2011 20:05:10 +0000 (20:05 +0000)]
Update to use timeit-target when running with --without-llvm.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130143 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agobuild: Add support for building a version of the 'timeit' tool which will run on
ddunbar [Mon, 25 Apr 2011 20:05:08 +0000 (20:05 +0000)]
build: Add support for building a version of the 'timeit' tool which will run on
the target.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130142 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agobuild: Fix "make tools" to work even when a TEST=... option is set.
ddunbar [Mon, 25 Apr 2011 20:05:05 +0000 (20:05 +0000)]
build: Fix "make tools" to work even when a TEST=... option is set.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130141 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoRunSafely: Change to use 'sh -c' when running remotely (like we do on the
ddunbar [Mon, 25 Apr 2011 20:05:02 +0000 (20:05 +0000)]
RunSafely: Change to use 'sh -c' when running remotely (like we do on the
host). This is necessary if TIMEIT isn't a shell builtin.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130140 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoFix test case for nonfragile-abi too (-arch i386).
fjahanian [Fri, 22 Apr 2011 23:28:57 +0000 (23:28 +0000)]
Fix test case for nonfragile-abi too (-arch i386).

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130032 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoExecutable test for clang's // rdar:// 9072317
fjahanian [Fri, 22 Apr 2011 22:03:25 +0000 (22:03 +0000)]
Executable test for clang's // rdar:// 9072317

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@130020 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdd a test for member function pointer conversion to bool.
ddunbar [Tue, 19 Apr 2011 23:15:37 +0000 (23:15 +0000)]
Add a test for member function pointer conversion to bool.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129831 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTest case for 129634. <rdar://problem/8933028>
stuart [Tue, 19 Apr 2011 21:42:34 +0000 (21:42 +0000)]
Test case for 129634. <rdar://problem/8933028>

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129821 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoThe build target should also build the llc-beta executables for TEST=nightly
stoklund [Mon, 18 Apr 2011 17:14:15 +0000 (17:14 +0000)]
The build target should also build the llc-beta executables for TEST=nightly
ENABLE_LLCBETA=1.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129702 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTest-suite makefile build target for LLCBETA. Some people still use it :)
atrick [Fri, 15 Apr 2011 20:47:59 +0000 (20:47 +0000)]
Test-suite makefile build target for LLCBETA. Some people still use it :)

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129604 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agotest-suite: Bump timeout limit for Bullet a bit more.
ddunbar [Fri, 15 Apr 2011 18:37:03 +0000 (18:37 +0000)]
test-suite: Bump timeout limit for Bullet a bit more.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129586 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdd a "make build" target to the test-suite.
atrick [Thu, 14 Apr 2011 19:04:12 +0000 (19:04 +0000)]
Add a "make build" target to the test-suite.

I use this as follows
make -j8 build TEST=simple ...
make TEST=simple ...

This is the only reasonable way I've come up with for manual
benchmarking. I'm checking in since others have asked for the feature.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129530 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoProper whitespace removal.
atrick [Thu, 14 Apr 2011 18:58:09 +0000 (18:58 +0000)]
Proper whitespace removal.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129529 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoOops. I used the wrong whitespace script for a Makefile!
atrick [Thu, 14 Apr 2011 18:49:16 +0000 (18:49 +0000)]
Oops. I used the wrong whitespace script for a Makefile!

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129528 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agowhitespace
atrick [Thu, 14 Apr 2011 18:42:22 +0000 (18:42 +0000)]
whitespace

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@129526 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdd a trivial script to extract the times from *.report.txt files.
ddunbar [Tue, 5 Apr 2011 18:23:18 +0000 (18:23 +0000)]
Add a trivial script to extract the times from *.report.txt files.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128900 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoSkip the property-reference-object test when using llvm-gcc.
bwilson [Tue, 29 Mar 2011 16:03:44 +0000 (16:03 +0000)]
Skip the property-reference-object test when using llvm-gcc.
It won't even compile with llvm-gcc and only works with clang.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128460 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoupdated reference output file to match the convention.
fjahanian [Mon, 28 Mar 2011 23:55:48 +0000 (23:55 +0000)]
updated reference output file to match the convention.
// rdar://9070460

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128438 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoThis is test for clang's // rdar://9070460.
fjahanian [Mon, 28 Mar 2011 23:48:25 +0000 (23:48 +0000)]
This is test for clang's // rdar://9070460.
I have modified the Makefile so test is skipped
for llvm-gcc (which does not fully support this feature).

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128436 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdd report format for TEST=dbg
dpatel [Mon, 28 Mar 2011 20:26:54 +0000 (20:26 +0000)]
Add report format for TEST=dbg

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128424 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTidy up TEST=dbg reports.
dpatel [Mon, 28 Mar 2011 20:25:47 +0000 (20:25 +0000)]
Tidy up TEST=dbg reports.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128423 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTest case for 128412. <rdar://problem/9186245>
stuart [Mon, 28 Mar 2011 18:21:53 +0000 (18:21 +0000)]
Test case for 128412.  <rdar://problem/9186245>

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128414 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoThis timeout was not enough on some machines.
baldrick [Fri, 25 Mar 2011 09:12:07 +0000 (09:12 +0000)]
This timeout was not enough on some machines.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128270 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoIncrease the timeout in the hope of fixing PR9469.
baldrick [Tue, 22 Mar 2011 10:33:10 +0000 (10:33 +0000)]
Increase the timeout in the hope of fixing PR9469.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@128083 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoCommit of shame: Forgot a semicolon.
void [Fri, 4 Mar 2011 00:14:31 +0000 (00:14 +0000)]
Commit of shame: Forgot a semicolon.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126971 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoTestcase for <rdar://problem/8824861>.
void [Thu, 3 Mar 2011 23:10:56 +0000 (23:10 +0000)]
Testcase for <rdar://problem/8824861>.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126968 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoDo not force -std=c99. clang will take it literally and reject c++ constructs.
dpatel [Thu, 3 Mar 2011 00:51:08 +0000 (00:51 +0000)]
Do not force -std=c99. clang will take it literally and reject c++ constructs.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126908 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoCheck x86_64 also.
dpatel [Thu, 3 Mar 2011 00:39:25 +0000 (00:39 +0000)]
Check x86_64 also.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126906 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoDo not specify -std=c99 for c++ testcases.
dpatel [Thu, 24 Feb 2011 17:26:05 +0000 (17:26 +0000)]
Do not specify -std=c99 for c++ testcases.
o llvm-gcc issues a ignores it after issuing a warning.
o On the otherside, clang follows it by rejecting c++ constructs in the testcase.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126390 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoReally use clang instead of llvmgcc as the compiler.
dpatel [Wed, 23 Feb 2011 22:51:31 +0000 (22:51 +0000)]
Really use clang instead of llvmgcc as the compiler.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126340 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agoAdopt clang as the compiler.
dpatel [Wed, 23 Feb 2011 19:59:17 +0000 (19:59 +0000)]
Adopt clang as the compiler.
Stay within 80 cols.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@126329 91177308-0d34-0410-b5e6-96231b3b80d8

2 years agotest-suite/fpcmp: Finish turning FileUtilities.cpp into a C program.
ddunbar [Tue, 15 Feb 2011 19:17:25 +0000 (19:17 +0000)]
test-suite/fpcmp: Finish turning FileUtilities.cpp into a C program.

git-svn-id: http://llvm.org/svn/llvm-project/test-suite/trunk@125586 91177308-0d34-0410-b5e6-96231b3b80d8