[PATCH] D48879: [XRay][test-suite] Benchmarks for profiling mode implementation

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 07:56:51 PDT 2018


hans added a comment.

I patched it in (on the 7.0 branch because that's what I have handy) but it crashes:

  FAIL: test-suite :: MicroBenchmarks/XRay/ProfilingMode/profiling-bench.test (442 of 910)
  ******************** TEST 'test-suite :: MicroBenchmarks/XRay/ProfilingMode/profiling-bench.test' FAILED ********************
  
  /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/profiling-bench --benchmark_format=csv > /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/Output/profiling-bench.test.bench.csv
  
  Run on (56 X 3500 MHz CPU s)
  2018-08-14 16:49:47
  ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
  /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/Output/profiling-bench.test_run.script: line 1: 25496 Segmentation fault      /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/profiling-bench --benchmark_format=csv > /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/Output/profiling-bench.test.bench.csv
  
  ********************
  Testing Time: 63.37s
  ********************
  Failing Tests (1):
      test-suite :: MicroBenchmarks/XRay/ProfilingMode/profiling-bench.test
  
    Expected Passes    : 909
    Unexpected Failures: 1

If I run it directly:

  $ /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/profiling-bench --benchmark_format=csv > /work/llvm-release-test/branches_release_70/test-suite-build/MicroBenchmarks/XRay/ProfilingMode/Output/profiling-bench.test.bench.csv

it runs fine.

I'm guessing lit does something to the environment that makes the test fail.


Repository:
  rT test-suite

https://reviews.llvm.org/D48879





More information about the llvm-commits mailing list