Skip to content

Instantly share code, notes, and snippets.

@modocache
Created July 27, 2017 16:03
Show Gist options
  • Save modocache/09236caa123baea701e66d13bb0c9cfb to your computer and use it in GitHub Desktop.
Save modocache/09236caa123baea701e66d13bb0c9cfb to your computer and use it in GitHub Desktop.
$ ~/local/Source/fb/llvm/build/bin/llvm-lit -v --path ~/local/Source/fb/llvm/build/bin ~/local/Source/fb/llvm/llvm/utils/lit/tests
llvm-lit: /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/lit.cfg:53: warning: Could not import psutil. Some tests will be skipped and the --timeout command line argument will not work.
-- Testing: 21 tests, 8 threads --
UNSUPPORTED: lit :: googletest-timeout.py (1 of 21)
PASS: lit :: shell-parsing.py (2 of 21)
PASS: lit :: boolean-parsing.py (3 of 21)
PASS: lit :: shtest-encoding.py (4 of 21)
PASS: lit :: progress-bar.py (5 of 21)
PASS: lit :: googletest-format.py (6 of 21)
UNSUPPORTED: lit :: shtest-timeout.py (7 of 21)
PASS: lit :: googletest-upstream-format.py (8 of 21)
PASS: lit :: shtest-output-printing.py (9 of 21)
PASS: lit :: shtest-format.py (10 of 21)
PASS: lit :: unit/ShUtil.py (11 of 21)
PASS: lit :: unit/TestRunner.py (12 of 21)
PASS: lit :: test-data.py (13 of 21)
PASS: lit :: test-output.py (14 of 21)
PASS: lit :: unittest-adaptor.py (15 of 21)
PASS: lit :: usage.py (16 of 21)
FAIL: lit :: shtest-shell.py (17 of 21)
******************** TEST 'lit :: shtest-shell.py' FAILED ********************
Script:
--
not /usr/local/opt/python/bin/python2.7 /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py -j 1 -v /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/shtest-shell > /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/shtest-shell.py.tmp.out
FileCheck --input-file /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/shtest-shell.py.tmp.out /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/shtest-shell.py
--
Exit Code: 1
Command Output (stdout):
--
$ "not" "/usr/local/opt/python/bin/python2.7" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py" "-j" "1" "-v" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/shtest-shell"
$ "FileCheck" "--input-file" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/shtest-shell.py.tmp.out" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/shtest-shell.py"
# command stderr:
/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/shtest-shell.py:30:10: error: expected string not found in input
# CHECK: PASS: shtest-shell :: redirects.txt
^
/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/shtest-shell.py.tmp.out:41:4: note: scanning from here
********************
^
/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/shtest-shell.py.tmp.out:42:1: note: possible intended match here
FAIL: shtest-shell :: redirects.txt (4 of 6)
^
error: command failed with exit status: 1
--
********************
PASS: lit :: discovery.py (18 of 21)
PASS: lit :: xunit-output.py (19 of 21)
FAIL: lit :: max-failures.py (20 of 21)
******************** TEST 'lit :: max-failures.py' FAILED ********************
Script:
--
not /usr/local/opt/python/bin/python2.7 /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py -j 1 -v /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures > /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/max-failures.py.tmp.out
not /usr/local/opt/python/bin/python2.7 /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py --max-failures=1 -j 1 -v /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures >> /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/max-failures.py.tmp.out
not /usr/local/opt/python/bin/python2.7 /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py --max-failures=2 -j 1 -v /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures >> /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/max-failures.py.tmp.out
not /usr/local/opt/python/bin/python2.7 /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py --max-failures=0 -j 1 -v /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures 2>> /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/max-failures.py.tmp.out
FileCheck < /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/Output/max-failures.py.tmp.out /Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/max-failures.py
--
Exit Code: 1
Command Output (stdout):
--
$ "not" "/usr/local/opt/python/bin/python2.7" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py" "-j" "1" "-v" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures"
$ "not" "/usr/local/opt/python/bin/python2.7" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py" "--max-failures=1" "-j" "1" "-v" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures"
$ "not" "/usr/local/opt/python/bin/python2.7" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py" "--max-failures=2" "-j" "1" "-v" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures"
$ "not" "/usr/local/opt/python/bin/python2.7" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../lit.py" "--max-failures=0" "-j" "1" "-v" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/../tests/Inputs/max-failures"
$ "FileCheck" "/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/max-failures.py"
# command stderr:
/Users/bgesiak/Source/fb/llvm/llvm/utils/lit/tests/max-failures.py:11:10: error: expected string not found in input
# CHECK: Failing Tests (3)
^
<stdin>:1:1: note: scanning from here
-- Testing: 6 tests, 1 threads --
^
<stdin>:1:4: note: possible intended match here
-- Testing: 6 tests, 1 threads --
^
error: command failed with exit status: 1
--
********************
PASS: lit :: selecting.py (21 of 21)
Testing Time: 3.58s
********************
Failing Tests (2):
lit :: max-failures.py
lit :: shtest-shell.py
Expected Passes : 17
Unsupported Tests : 2
Unexpected Failures: 2
1 warning(s) in tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment