Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/llvm/llvm-test-suite


https://github.com/llvm/llvm-test-suite

A rather exhaustive test case for ms_struct attribute.

Passes both clang and llvm-gcc. // rdar://8823265

llvm-svn: 131105

5395f25dca034b3b9c486712c729ee3c86955a06 authored over 13 years ago by Fariborz Jahanian <[email protected]>
Test for packing of ms_struct bitfields.

// rdar://8823265

llvm-svn: 130852

feecf700a6aa0b2dc95a65e37e1a1f8deaad4bfb authored over 13 years ago by Fariborz Jahanian <[email protected]>
More unit tests for ms_struct and zero-length

bitfield alignment rules.

llvm-svn: 130798

9428ef41cce48e0caab4e4fa6f0b85fa47abe3a2 authored over 13 years ago by Fariborz Jahanian <[email protected]>
Test related to rules for zero-length bitfields

in ms_struct structs. // rdar://8823265

llvm-svn: 130784

7ea01a4a9a63ec437b4b44138b4e46504efe2892 authored over 13 years ago by Fariborz Jahanian <[email protected]>
build: Add support for an EXECUTION_ENVIRONMENT_OVERRIDES variable, which can

used to override various environment variables for test execution. Useful for
tweaking things lik...

e700af9a1ea1ebc8055f374459412366c13fcf11 authored over 13 years ago by Daniel Dunbar <[email protected]>
Executable test for clang's // rdar://9309454

llvm-svn: 130548

b6c68d9bf0370400140ffc8a71e108ec24e6b7e5 authored over 13 years ago by Fariborz Jahanian <[email protected]>
Add missing ms_struct attribute to test.

llvm-svn: 130512

fadb27a5fe2c8cdf1c16e093e09f9ea6c2be658d authored over 13 years ago by Fariborz Jahanian <[email protected]>
Excutable test case for use of ms_struct attribute

in clang. // rdar://8823265.

llvm-svn: 130459

cc7e08cef1bddcefef71aad11cb31ca15bbc1a79 authored over 13 years ago by Fariborz Jahanian <[email protected]>
Update to use timeit-target when running with --without-llvm.

llvm-svn: 130143

e84d0ebc51f094fb0f28d8688bc74bd2babf9d0c authored over 13 years ago by Daniel Dunbar <[email protected]>
build: Add support for building a version of the 'timeit' tool which will run on

the target.

llvm-svn: 130142

4ee9517d3d89fc4a16647398c97b4e22d9dab662 authored over 13 years ago by Daniel Dunbar <[email protected]>
build: Fix "make tools" to work even when a TEST=... option is set.

llvm-svn: 130141

df81f56c6f7373327bbce03cbed9be427a57a41d authored over 13 years ago by Daniel Dunbar <[email protected]>
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.

llvm-svn: 130140

27a773e15a8d6ae7b5a4210167d78dfadfe359fa authored over 13 years ago by Daniel Dunbar <[email protected]>
Fix test case for nonfragile-abi too (-arch i386).

llvm-svn: 130032

8e7f346b6720b556e3a756065f05b2946b2b6e1c authored over 13 years ago by Fariborz Jahanian <[email protected]>
Executable test for clang's // rdar:// 9072317

llvm-svn: 130020

2d177ddb4ad0c0dca7b8d528198ff29c49fc70d9 authored over 13 years ago by Fariborz Jahanian <[email protected]>
Add a test for member function pointer conversion to bool.

llvm-svn: 129831

f380477d472558876e6f36d09b8021d667587972 authored over 13 years ago by Daniel Dunbar <[email protected]>
Test case for 129634. <rdar://problem/8933028>

llvm-svn: 129821

45dfb459a81684082838ef606c7f30c91c7fcae9 authored over 13 years ago by Stuart Hastings <[email protected]>
The build target should also build the llc-beta executables for TEST=nightly

ENABLE_LLCBETA=1.

llvm-svn: 129702

2eb7d8b862490ae9981e47e410f37a5a4c2ba221 authored over 13 years ago by Jakob Stoklund Olesen <[email protected]>
Test-suite makefile build target for LLCBETA. Some people still use it :)

llvm-svn: 129604

00c8ccccadaeff690bda816f665b8517ba0df8e5 authored over 13 years ago by Andrew Trick <[email protected]>
test-suite: Bump timeout limit for Bullet a bit more.

llvm-svn: 129586

eb002fd45a11ce65ffa3c5590363315337c6dd61 authored over 13 years ago by Daniel Dunbar <[email protected]>
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 reas...

92bcf53ed85085bd912880a018be0268bef0d4ac authored over 13 years ago by Andrew Trick <[email protected]>
Proper whitespace removal.

llvm-svn: 129529

85927b73f6f795bcfb6271a56850ccbfc624a65e authored over 13 years ago by Andrew Trick <[email protected]>
Oops. I used the wrong whitespace script for a Makefile!

llvm-svn: 129528

6e61ec726cb9ce41d8cba802a6877dc7f61e2de7 authored over 13 years ago by Andrew Trick <[email protected]>
whitespace

llvm-svn: 129526

56e79b58590621ed5ff8f43c7e651d25bf304aef authored over 13 years ago by Andrew Trick <[email protected]>
Add a trivial script to extract the times from *.report.txt files.

llvm-svn: 128900

8756a08ccbf3e1d9a35a100dc78af14c041e142f authored over 13 years ago by Daniel Dunbar <[email protected]>
Skip the property-reference-object test when using llvm-gcc.

It won't even compile with llvm-gcc and only works with clang.

llvm-svn: 128460

21af4016a9b31381fc8254e7775fb1e4f450f342 authored over 13 years ago by Bob Wilson <[email protected]>
updated reference output file to match the convention.

// rdar://9070460

llvm-svn: 128438

5ccbe02b04a95c4d44c3a25882df74c7b72cd0f3 authored over 13 years ago by Fariborz Jahanian <[email protected]>
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 ...

2b3c9a1e25fd828e9deacb508f79fb224590f01d authored over 13 years ago by Fariborz Jahanian <[email protected]>
Add report format for TEST=dbg

llvm-svn: 128424

fd7a529ca7b1fbb90ba81ac0f8f4f68ea7b752e6 authored over 13 years ago by Devang Patel <[email protected]>
Tidy up TEST=dbg reports.

llvm-svn: 128423

6cfdf27c4cf1588d0bb9e505ea51bedf6c390d80 authored over 13 years ago by Devang Patel <[email protected]>
Test case for 128412. <rdar://problem/9186245>

llvm-svn: 128414

f7f150bb45670f33b54adc4d43c8d70771579ef8 authored over 13 years ago by Stuart Hastings <[email protected]>
This timeout was not enough on some machines.

llvm-svn: 128270

0df6eddfa51906e7b4974497e7f4bdc77fe4593f authored over 13 years ago by Duncan Sands <[email protected]>
Increase the timeout in the hope of fixing PR9469.

llvm-svn: 128083

7028c4a944019402aef908630d3416354843bccb authored over 13 years ago by Duncan Sands <[email protected]>
Commit of shame: Forgot a semicolon.

llvm-svn: 126971

5d74b9fe05b1c7facf577d7c9e0871ea718b27c3 authored over 13 years ago by Bill Wendling <[email protected]>
Testcase for <rdar://problem/8824861>.

llvm-svn: 126968

8c3393df0f602f897d8082ef18eec77ab3becfc6 authored over 13 years ago by Bill Wendling <[email protected]>
Do not force -std=c99. clang will take it literally and reject c++ constructs.

llvm-svn: 126908

3991e9e035897eb17344d4bc30fd161fdb09cd48 authored over 13 years ago by Devang Patel <[email protected]>
Check x86_64 also.

llvm-svn: 126906

b1545328d113b9d843ed870e7031563b4a2430dd authored over 13 years ago by Devang Patel <[email protected]>
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 r...

eab92e8a5352b0495077479c3c5c5697d11d224b authored over 13 years ago by Devang Patel <[email protected]>
Really use clang instead of llvmgcc as the compiler.

llvm-svn: 126340

7285987ef1ee5bb5167a8fbc9c7e0df1b465a1a9 authored over 13 years ago by Devang Patel <[email protected]>
Adopt clang as the compiler.

Stay within 80 cols.

llvm-svn: 126329

3a1fb88d8a78772d1f2918eb1210c0f7913f5f65 authored over 13 years ago by Devang Patel <[email protected]>
test-suite/fpcmp: Finish turning FileUtilities.cpp into a C program.

llvm-svn: 125586

e3d31a7357112a0abde2bb677a8d8d5e3d810a9c authored over 13 years ago by Daniel Dunbar <[email protected]>
Regenerate.

llvm-svn: 125516

56636f601bef90f14779b0a361f24148fc417e9b authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Check target configure information so that we can initialize

TARGET_OS and friends appropriately when running --without-llvm.
- This is totally bogus, natura...

3002789d1cd71f1d7cd8b37a86d0393b2f69f21d authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite/fpcmp: Implement the bare minimum cmp functionality.

- No support for the "fp" part of the tool yet.

llvm-svn: 125155

344e487652e27ae5d7b847cc4adcac223c8a01dc authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Start sketching some tools.

- timeit is just a simple replacement for /usr/bin/time which prints a whopping
four digits o...

0230324cfebc50850ee489f3884e8b907e4fe2a4 authored over 13 years ago by Daniel Dunbar <[email protected]>
Regenerate configure.

llvm-svn: 125146

ed210a0b94207584d3c047f17387ef62520df5dd authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Sketch an empty tools directory.

llvm-svn: 125145

2366bf358f1f4011f31453a56bd009e2dba52c12 authored over 13 years ago by Daniel Dunbar <[email protected]>
RunSafely: Add support for a -t argument to change the time command to use.

llvm-svn: 125143

18a9c5ed895d74cca8cb93fbdc488f87b57800f1 authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Allow fpcmp tool path to be specified.

llvm-svn: 124923

81b2bf4442bc58f7bb16f7d4011a1735a9802a0d authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Start sketching support for using LLVM's test-suite w/o an LLVM

source or object tree.

llvm-svn: 124922

4737cfaa86adb316a76d423555832916c2c849b4 authored over 13 years ago by Daniel Dunbar <[email protected]>
test-suite: Eliminate some spurious references to LLVM_OBJ_ROOT.

llvm-svn: 124921

a253cfd9d40fa474e14dd812d0cd29a122441831 authored over 13 years ago by Daniel Dunbar <[email protected]>
This benchmark thinks overflow of signed multiplication is well

defined. Add the -fwrapv flag to ensure that the compiler thinks
so too.

llvm-svn: 124745

e8cf429093d8a1a6d855ac0e561e5e3936aa015f authored over 13 years ago by Duncan Sands <[email protected]>
Adapt to updated CompareDebugInfo.py script.

Skip few tests for now.

llvm-svn: 124607

c898202c71cc7c3ca6d01245c841c0d87bb42b40 authored over 13 years ago by Devang Patel <[email protected]>
Add support to generate TEST=dbg report.

llvm-svn: 124606

0b097e961ed64590553d9a6172ab6db4c95a155b authored over 13 years ago by Devang Patel <[email protected]>
Add support to generate simple report for TEST=dbgopt.

llvm-svn: 124493

7b65baaeb9f8b4eb9d48c23925b3c14c542dbdba authored over 13 years ago by Devang Patel <[email protected]>
Add support to build .dbg variant using native compiler. This will be used to compare quality of debug info wrt to native compiler.

llvm-svn: 123865

354024a17f9dc81ab06b781f6ef3499bd8a802ec authored over 13 years ago by Devang Patel <[email protected]>
make BENCHMARK_ONLY=1 to generate a top-level report of benchmark

scores without excessive polution from unit tests.

llvm-svn: 123812

47a7773c7d0d3706de608cfaf80e2ab480d4107b authored over 13 years ago by Andrew Trick <[email protected]>
Handle c++ and objective-c files.

llvm-svn: 123325

ae40fac0f038d65d233c7f5a9de2b3437a0a9932 authored almost 14 years ago by Devang Patel <[email protected]>
Temporarily disable SingleSource/Regression/C++/EH/inlined_cleanup

for ARM/Darwin. It had been failing in a harmless way but for some reason
it is now crashing my ...

683213e4bacb6ab1ddc47796fd3d6102608b33c9 authored almost 14 years ago by Bob Wilson <[email protected]>
Only run NEON tests on thumbv7.

llvm-svn: 122775

29f8e9f27700e9ad2317ecee962b4a1ec8d2ff40 authored almost 14 years ago by Daniel Dunbar <[email protected]>
Remove printf from the test. llvm test infrastructure

does not like that.

llvm-svn: 122063

21a73044d29313476982d0f8f446502fb44bd2c7 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Removed unneeded header file.

llvm-svn: 122007

1669a94dde1895e8783600d62b34298b4fc8ce72 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Another useful test case for imported c++ objects

into blocks. // rdar://8768050

llvm-svn: 121987

f33300c0595f6ee9573a32ae58c1a0bcb24f44e6 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Add this to the list of programs to skip as well for darwin.

llvm-svn: 121348

d5dab8f3cfa90262e03367c9b2f2a3109fc5d2d2 authored almost 14 years ago by Eric Christopher <[email protected]>
Move this here where it's gated by a check for whether or not TLS is

supported.

llvm-svn: 121339

a3ee9a6764d73713ca3dfee05d4963361e3e598c authored almost 14 years ago by Eric Christopher <[email protected]>
Check in correct test.

llvm-svn: 121332

3639e6a00c79b96532df302dbb54f5c57955ff80 authored almost 14 years ago by Eric Christopher <[email protected]>
Add a simple thread local storage test.

llvm-svn: 121327

5253850f6e72f4c97053f985f8cae2f8066c20a0 authored almost 14 years ago by Eric Christopher <[email protected]>
nt: Add a silly example test useful for testing noise estimation stuff.

llvm-svn: 121239

3dfe88c0e39677396cf460638eb065aa6ad6f496 authored almost 14 years ago by Daniel Dunbar <[email protected]>
Add test harness to measure quality of debug info in optimized code.

MultiSource support is not yet ready.

llvm-svn: 121080

0a17d1c9558f3f7a67047b65eb4d1e59b12a374a authored almost 14 years ago by Devang Patel <[email protected]>
Add LLCOPTION to make it easier to test different llc options for llc and llc-beta.

llvm-svn: 120983

d0c6fd6cd1ab8ca99f8823288a8421eab34e8017 authored almost 14 years ago by Evan Cheng <[email protected]>
Add/implement "default" reference output, to make it easier to add tests which

just "exit 0".

llvm-svn: 120805

ec4741e2e5cbd61d444d70baf2968d1903081b6b authored almost 14 years ago by Daniel Dunbar <[email protected]>
Test for // rdar://8594790

llvm-svn: 120715

26a5ba6adbcbf3c729a1fcf6be52e1bd903c6144 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Corrected test file name.

llvm-svn: 120714

f0215ddfeffbdcf49ebe316bfd4fdfc4d3c6dad4 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Rename LLVMGCC_DISABLEOPT_FLAGS to LLVMCC_DISABLEOPT_FLAGS.

llvm-svn: 120152

2ddb69058286187a5cd09a4acfee695e63790471 authored almost 14 years ago by Duncan Sands <[email protected]>
Fix header.

llvm-svn: 119372

131f6480dc0052dfe3468864b739f6ccdcaf0738 authored almost 14 years ago by Devang Patel <[email protected]>
Add a reference output.

llvm-svn: 119350

19f449f40a476e1fb124884f7eaa3e93f1ec82de authored almost 14 years ago by Daniel Dunbar <[email protected]>
Test case for blocks with cxx objects copied-in.

related to // rdar://8594790

llvm-svn: 119159

b58fa151c3c094d4fccce20f55d3725d16685725 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Add dragonegg support to the test suite.

Use LLVMCC_EMITIR_FLAG and LLVMGCC_DISABLE_OPT_FLAGS to derive the flags
needed to build using e...

51fe1c3183684b4b9fdc6018594f0252848daa96 authored almost 14 years ago by Tobias Grosser <[email protected]>
This benchmark was chosen somewhat at random to see if we can make the

results more predictable on certain platforms. We can do a little
better by reusing malloc'd memo...

555e15ded3f4d8ba6744c0132dad15a1230b3c3a authored almost 14 years ago by Andrew Trick <[email protected]>
Added command line arg to specify # times to sort before printing.

Default = 1000

llvm-svn: 117565

5cb10d3075ef2f7165619803b61ee1a4c1a7b292 authored almost 14 years ago by Andrew Trick <[email protected]>
Add a reference output.

llvm-svn: 117379

7577b8510db455df0971d414eed667f9680308b7 authored almost 14 years ago by Daniel Dunbar <[email protected]>
Removed some random comments.

llvm-svn: 117369

37cbc471b6eeee648b8c0d8c87c1645024241b2d authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Fixes test.

llvm-svn: 117368

149c348e863c35cb636297a1df689c960aead149 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Test for statement expressions with non-trivial

copy constructors. //rdar: //8540501.

llvm-svn: 117325

c446d651eb22ceb5fe77184473696ad669bb6b12 authored almost 14 years ago by Fariborz Jahanian <[email protected]>
Do not hardcode -O3 as the optimization level for llc and friends.

llvm-svn: 117306

58582ba4354608909d7d5963debb671e7426cbe4 authored almost 14 years ago by Devang Patel <[email protected]>
Up the runtime limit on this test. arm -O0 is running up against the

edge.

llvm-svn: 117218

b0001bdccd375be52838daedec162d613dfe96a9 authored almost 14 years ago by Eric Christopher <[email protected]>
Fix test to honor SMALL_PROBLEM_SIZE, this test is stupid.

llvm-svn: 116872

5cc119b07db873a60ee34243f38d72d7161e4d1e authored almost 14 years ago by Daniel Dunbar <[email protected]>
Copy compiler_rt's floatundisf into the this test completely in an attempt to get it working on Linux X86_64.

llvm-svn: 116246

54972272da584b08a1e56151097896a2e5258af4 authored about 14 years ago by Owen Anderson <[email protected]>
Use __floatundisf from libgcc and/or compiler_rt as the canonical reference for the uint64->float conversion, so that

this doesn't trivially pass by comparing the compiler against itself. Unfortunately, __floatundi...

af0ecc722360c495a787b4056cf012ea385f861b authored about 14 years ago by Owen Anderson <[email protected]>
Add a test that verifies the correctness of uint64 --> float conversions, contributed by Steve Canon.

llvm-svn: 115706

c58ffcc8b2eef03b9f2ca20327f9c44da5ba35f1 authored about 14 years ago by Owen Anderson <[email protected]>
Test case for r115586.

llvm-svn: 115587

e84038470e9bfb5630c9bc0910068b108063b9f5 authored about 14 years ago by John McCall <[email protected]>
Remove print-class-info tests, they aren't very useful and are too tied to other

platform details (specific Foundation version, etc.)

llvm-svn: 115505

c9bca686d05a7b73d9bb43f814c6f54a313624b4 authored about 14 years ago by Daniel Dunbar <[email protected]>
Use Foundation instead of Cocoa when possible.

llvm-svn: 114773

6e63acb26d42151e3683f50ebd7a148f6d8d0c95 authored about 14 years ago by Daniel Dunbar <[email protected]>
Add a reference output.

llvm-svn: 114765

31476ec6070ea365ab9f5bd80b9a4db067e23636 authored about 14 years ago by Daniel Dunbar <[email protected]>
Run ObjC and ObjC++ unit tests on all Darwin platforms.

llvm-svn: 114757

0ccf59ec6003465bacb97e17b50d401d62155047 authored about 14 years ago by Jakob Stoklund Olesen <[email protected]>
XFAIL a known llvm-gcc miscompilation.

llvm-svn: 114754

ae4708a8e27c721c00ef09301e3c4d1153b64f83 authored about 14 years ago by Jakob Stoklund Olesen <[email protected]>
Test for pr7827 (clang).

llvm-svn: 114738

eac9b17b2c39e772d34a0afe2288e4995a8464e7 authored about 14 years ago by Fariborz Jahanian <[email protected]>
Un "XFAIL" ConditionalExpr for Clang.

llvm-svn: 114651

37883fde8bac9ee648691039ba2c606a92735cc9 authored about 14 years ago by Daniel Dunbar <[email protected]>
NEON/simple: Adding the right reference output seems like a reasonable idea.

llvm-svn: 114650

22e9709ca1ca32d4e4655ece612516121c0dd735 authored about 14 years ago by Daniel Dunbar <[email protected]>
Enable NEON vector tests on ARMv7 or "Thumbv7".

llvm-svn: 114606

234b0960f901fa4d99d8b8833f783f23ef22d9cc authored about 14 years ago by Daniel Dunbar <[email protected]>
Add reference output.

llvm-svn: 114605

98c0ccb2819677d2c7e9289056782e7e78e5f699 authored about 14 years ago by Daniel Dunbar <[email protected]>