aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests
AgeCommit message (Collapse)AuthorFilesLines
2014-12-12Require python 2.7.Rafael Espindola1-2/+0
We were already requiring 2.5, which meant that people on old linux distros had to upgrade anyway. Requiring python 2.6 will make supporting 3.X easier as we can use the 3.X exception syntax. According to the discussion on llvmdev, there is not much value is requiring just 2.6, we may as well just require 2.7. llvm-svn: 224129
2014-12-03Add a test-case for lit xunit outputChris Matthews1-0/+10
llvm-svn: 223307
2013-09-14[lit] Add an --output option, for writing results in a machine readable form.Daniel Dunbar3-2/+27
llvm-svn: 190738
2013-09-11[lit] Add support for attach arbitrary metrics to test results.Daniel Dunbar3-0/+63
- This is a work-in-progress and all details are subject to change, but I am trying to build up support for allowing lit to be used as a driver for performance tests (or other tests which might want to record information beyond simple PASS/FAIL). llvm-svn: 190535
2013-09-03[lit] Allow config files to pass arbitrary values to child configs.Daniel Dunbar2-0/+6
- This aligns with how existing test suites end up wanting to use the local config files, conceptually it makes sense to consider them to be inherited. llvm-svn: 189885
2013-08-29[lit] [tests] Add missing test input file.Daniel Dunbar1-0/+6
llvm-svn: 189561
2013-08-29[lit] Fix internal shell's argv[0] handling.Daniel Dunbar1-1/+2
- At least on OS X, it is important for correct behavior of /bin/[ that argv[0] is passed as written, and not as the full executable path. llvm-svn: 189559
2013-08-21[lit] Lift XFAIL handling to core infrastructure.Daniel Dunbar1-0/+5
llvm-svn: 188949
2013-08-14[lit] Add test coverage of gtest format.Daniel Dunbar3-0/+57
llvm-svn: 188417
2013-08-14[lit] Ensure test output is converted to strings where possible.Daniel Dunbar5-4/+43
- This cleans up the text output of failing tests when run under PY3. llvm-svn: 188416
2013-08-14[lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar1-0/+3
- For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. - This patch has been tweaked to now ensure that the command strings are not of unicode type on Python 2.6-7. llvm-svn: 188398
2013-08-14Revert r188376, "[lit] Support parsing scripts with inconsistent or invalid ↵Daniel Dunbar1-3/+0
encodings.", this doesn't work yet for bots using the internal shell. llvm-svn: 188379
2013-08-14[lit] Support parsing scripts with inconsistent or invalid encodings.Daniel Dunbar1-0/+3
- For whatever reason, we have a lot of test files with bogus unicode characters. This patch allows those scripts to still be parsed on Python3 by changing the parsing logic to work on binary files, and only require the actual script commands to be convertible to ascii. llvm-svn: 188376
2013-08-14[lit] Fix tests to execute lit with same python as invoked with.Daniel Dunbar3-3/+6
llvm-svn: 188358
2013-08-09[lit] Update lit's own tests to use lit_config and lit package, as appropriate.Daniel Dunbar11-4/+15
llvm-svn: 188107
2013-08-08[lit] Change --show-{tests,suites} to exit after printing.Daniel Dunbar1-10/+5
- This is a more sensible behavior than printing and also running tests. llvm-svn: 188009
2013-08-07[lit] tests: Change discovery test to use --show-tests.Daniel Dunbar1-25/+31
llvm-svn: 187851
2013-04-12lit: Fix infinite recursion when an out-of-tree test root is located inside ↵Daniel Dunbar4-0/+27
the source test root. llvm-svn: 179402
2013-04-12lit: Add a test for discovery w/ test_exec_root (out-of-tree test root).Daniel Dunbar3-9/+60
llvm-svn: 179401
2013-04-11lit: Add a test for discovery when exact test names are given.Daniel Dunbar1-0/+15
llvm-svn: 179247
2013-04-11lit: Add a trivial test of the basic progress bar.Daniel Dunbar6-0/+22
llvm-svn: 179243
2013-01-31[lit] Add a test for internal shell execution behaviors.Daniel Dunbar10-0/+125
llvm-svn: 174102
2013-01-31[lit] Add a test for the various ShTest format features.Daniel Dunbar16-0/+72
llvm-svn: 174072
2013-01-31[lit] Move unittest adaptor code into discovery module.Daniel Dunbar4-0/+25
- Also, add a test for it. llvm-svn: 174019
2013-01-31[lit] Run the ShUtil tests as part of the test suite.Daniel Dunbar2-0/+4
llvm-svn: 174018
2013-01-31[lit] Set parallel mode for coverage tests.Daniel Dunbar1-1/+1
llvm-svn: 174017
2013-01-31[lit] Add a basic discovery test.Daniel Dunbar9-0/+41
llvm-svn: 174001
2013-01-31[lit] Add a script for checking test coverage.Daniel Dunbar1-0/+11
llvm-svn: 174000
2013-01-31[lit] Add a test suite for lit itself.Daniel Dunbar2-0/+41
llvm-svn: 173999