summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ShadowStackGC.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-30 01:39:58 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-30 01:39:58 +0000
commit5ccbccfce0209eed8154236cf673416ee8d7ea9b (patch)
tree0c8f5a563c90fa68e34b66d89a917cb49c3a1cb3 /llvm/lib/CodeGen/ShadowStackGC.cpp
parent147c83ed4d55d6a2a12fb9d42a4857cd3241c36a (diff)
downloadbcm5719-llvm-5ccbccfce0209eed8154236cf673416ee8d7ea9b.tar.gz
bcm5719-llvm-5ccbccfce0209eed8154236cf673416ee8d7ea9b.zip
Add a @benchmarks_test decorator for test method we want to categorize as benchmarks test.
The test driver now takes an option "+b" which enables to run just the benchmarks tests. By default, tests decorated with the @benchmarks_test decorator do not get run. Add an example benchmarks test directory which contains nothing for the time being, just to demonstrate the @benchmarks_test concept. For example, $ ./dotest.py -v benchmarks ... ---------------------------------------------------------------------- Collected 2 tests 1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with gdb. ... skipped 'benchmarks tests' 2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with lldb. ... skipped 'benchmarks tests' ---------------------------------------------------------------------- Ran 2 tests in 0.047s OK (skipped=2) $ ./dotest.py -v +b benchmarks ... ---------------------------------------------------------------------- Collected 2 tests 1: test_with_gdb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with gdb. ... running test_with_gdb benchmarks result for test_with_gdb ok 2: test_with_lldb (TestRepeatedExprs.RepeatedExprssCase) Test repeated expressions with lldb. ... running test_with_lldb benchmarks result for test_with_lldb ok ---------------------------------------------------------------------- Ran 2 tests in 0.270s OK Also mark some Python API tests which are missing the @python_api_test decorator. llvm-svn: 136553
Diffstat (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud