| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed test/lib/llvm.exp - it is no longer needed
* Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
left in the test suite so this code is no longer required. test/lit.cfg is
now much shorter and clearer
* Removed a lot of duplicate code in lit.local.cfg files that need access to
the root configuration, by adding a "root" attribute to the TestingConfig
object. This attribute is dynamically computed to provide the same
information as was previously provided by the custom getRoot functions.
* Documented the config.root attribute in docs/CommandGuide/lit.pod
llvm-svn: 153408
|
|
|
|
|
|
|
|
| |
run with LIT now and now Dejagnu. dg.exp is no longer needed.
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664
|
|
|
|
|
|
| |
in LLVM tests.
llvm-svn: 143143
|
|
|
|
| |
llvm-svn: 143142
|
|
|
|
| |
llvm-svn: 141294
|
|
|
|
|
|
| |
here anymore and has been migrated to the test-suite project.
llvm-svn: 140216
|
|
|
|
| |
llvm-svn: 120156
|
|
|
|
| |
llvm-svn: 96908
|
|
|
|
| |
llvm-svn: 96906
|
|
|
|
|
|
| |
ever existed. :)
llvm-svn: 95230
|
|
|
|
| |
llvm-svn: 81664
|
|
|
|
| |
llvm-svn: 81662
|
|
|
|
| |
llvm-svn: 81427
|
|
|
|
|
|
| |
(%llvmgcc includes a '-w' argument, and this test looks for warnings).
llvm-svn: 81152
|
|
|
|
|
|
|
|
|
|
| |
There's a bug with ocamlc that uses "char*" instead of "const char*" for
global string variables. This causes g++ to be very noisy when linking
ocamlc programs. That's why the ocaml test used to cat to /dev/null.
ocamlopt doesn't have this problem, so we can get rid of the >/dev/null,
which may obscure some problems.
llvm-svn: 80968
|
|
|
|
| |
llvm-svn: 79994
|
|
|
|
| |
llvm-svn: 79992
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
try to use i686-darwin to build for arm-eabi, you'll quickly run into
several false assumptions that the target OS must be the same as the
host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to
help builds like "make check" and the test-suite able to cross
compile. Along the way a target of *-unknown-eabi is defined as
"Freestanding" so that TARGET_OS checks have something to work with.
Patch by Sandeep Patel!
llvm-svn: 79296
|
|
|
|
|
|
| |
against the target triple, instead of equivalent to "XFAIL: *".
llvm-svn: 73219
|
|
|
|
| |
llvm-svn: 67451
|
|
|
|
| |
llvm-svn: 67368
|
|
|
|
| |
llvm-svn: 67349
|
|
|
|
|
|
| |
default to a different target from the llvm configuration (e.g. 64-bit gcc and 32-bit llvm).
llvm-svn: 67334
|
|
|
|
| |
llvm-svn: 66268
|
|
|
|
| |
llvm-svn: 63548
|
|
|
|
| |
llvm-svn: 57912
|
|
|
|
|
|
|
|
| |
'make VG=1', as in clang
beware of the 42000 leaks reported by valgrind in the Constant.cpp + Type.cpp files. it needs fixing IMHO
llvm-svn: 57245
|
|
|
|
|
|
|
|
|
|
|
| |
Before there were two problems: (1) configure
turned "obj-c++" into "obj" in the langs line;
(2) the dejagnu library called it objc++ not
obj-c++.
Now the problem is that some of these tests don't
pass!
llvm-svn: 57167
|
|
|
|
|
|
| |
and objc++.
llvm-svn: 54474
|
|
|
|
| |
llvm-svn: 52826
|
|
|
|
| |
llvm-svn: 52595
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests. This breaks 80 tests in the tree.
The interesting part here is that this no longer ignores syntax errors
in RUN command lines. Some tests have not been working all the time because of
this.
The tricky part is that it now also views any stderr output as an error. This
can be suppressed in tcl 8.5, but let's not add this dependency. Instead, all
testcases should be changed to redirect stderr if they expect stderr output.
This holds in particular for lines like:
; RUN: not llvm-as < %s
where an error is expected (but I think I can solve this by modifying the not
script). Also, compilations resulting in warnings will now also fail (so
the warnings should be fixed, disabled or redirected...).
I'll continue with fixing the testcases that are broken now.
llvm-svn: 52172
|
|
|
|
| |
llvm-svn: 50191
|
|
|
|
| |
llvm-svn: 48762
|
|
|
|
|
|
| |
Patch by Julien Lerouge. Thanks!
llvm-svn: 48342
|
|
|
|
|
|
| |
before compile_c. Patch by Joachim Durchholz!
llvm-svn: 48132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(on solaris10, which are:
CodeGen/PowerPC/frounds.ll
Transforms/InstCombine/2008-02-23-MulSub.ll)
I needed a tool to figure out which one is the guilty.
To this end I have added a verbosity
option to the test/Makefile.
It can be invoked thus:
gmake check TESTSUITE=CodeGen/PowerPC VERBOSE="-v -v"
(The number of "-v"s specifies the verbosity level.
Instead of "-v" other aliases can be specified,
please consult the dejagnu docs for info.)
At level >= 2 following line is logged for each
test, before running it:
ABOUT TO RUN: <test>.ll
llvm-svn: 47602
|
|
|
|
|
|
|
|
| |
tests and fixed broken run lines.
XFAILed 3 arm regressions (will file bugs)
llvm-svn: 44389
|
|
|
|
|
|
| |
This will mark a test as PASS for all targets specified. It will override whatever is in XFAIL.
llvm-svn: 43788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
built atop the C language bindings, and user programs can link with them as
such:
# Bytecode
ocamlc -cc g++ llvm.cma llvmbitwriter.cma -o example example.ml
# Native
ocamlopt -cc g++ llvm.cmxa llvmbitwriter.cmxa -o example.opt example.ml
The vmcore.ml test exercises most/all of the APIs thus far bound. Unfortunately,
they're not yet numerous enough to write hello world. But:
$ cat example.ml
(* example.ml *)
open Llvm
open Llvm_bitwriter
let _ =
let filename = Sys.argv.(1) in
let m = create_module filename in
let v = make_int_constant i32_type 42 false in
let g = define_global "hello_world" v m in
if not (write_bitcode_file m filename) then exit 1;
dispose_module m;
$ ocamlc -cc g++ llvm.cma llvm_bitwriter.cma -o example example.ml
File "example.ml", line 11, characters 6-7:
Warning Y: unused variable g.
$ ./example example.bc
$ llvm-dis < example.bc
; ModuleID = '<stdin>'
@hello_world = global i32 42 ; <i32*> [#uses=0]
The ocaml test cases provide effective tests for the C interfaces.
llvm-svn: 42093
|
|
|
|
|
|
|
|
|
|
|
| |
that cannot be suppressed and cannot be redirected:
they are dumped in the current working directory.
When running the testsuite this means that these
files do not end up in the Output directory. The
best solution I could find is to change directory
into Output before running tests.
llvm-svn: 40437
|
|
|
|
| |
llvm-svn: 37224
|
|
|
|
|
|
|
| |
devolve the check to a comparison against each component in the string.
Fortunately there isn't many of them.
llvm-svn: 36376
|
|
|
|
|
|
| |
"string first" instead of "regexp match". This helps C++ tests get executed.
llvm-svn: 36339
|
|
|
|
|
|
|
|
| |
llvm_gcc_supports function that takes the language as an argument. Base that
function on the new LLVMGCC_LANGS configured variable so that we don't have
to execute feature checks during the test run.
llvm-svn: 36322
|
|
|
|
| |
llvm-svn: 36317
|
|
|
|
| |
llvm-svn: 36314
|
|
|
|
|
|
| |
there, delete a temporary file the objc test forgot to delete.
llvm-svn: 36312
|
|
|
|
|
|
|
| |
the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the
output consistent and more amenable to parsing by nightly test.
llvm-svn: 36311
|
|
|
|
|
|
|
| |
nightly tester which expects the FAIL: line to only have the test name on
it.
llvm-svn: 36310
|