[LNT] r272418 - check pgo releated cmake flags in PGO test case

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 12:27:58 PDT 2016


Author: cmatthews
Date: Fri Jun 10 14:27:58 2016
New Revision: 272418

URL: http://llvm.org/viewvc/llvm-project?rev=272418&view=rev
Log:
check pgo releated cmake flags in PGO test case

This was a horrible test. I might have even committed it accidentally.
This fix check the cmake flags in the two stages of a PGO run, to make
sure we generate then run with PGO data.

Modified:
    lnt/trunk/tests/runtest/test_suite.py

Modified: lnt/trunk/tests/runtest/test_suite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/runtest/test_suite.py?rev=272418&r1=272417&r2=272418&view=diff
==============================================================================
--- lnt/trunk/tests/runtest/test_suite.py (original)
+++ lnt/trunk/tests/runtest/test_suite.py Fri Jun 10 14:27:58 2016
@@ -377,4 +377,6 @@
 # RUN:     --pgo \
 # RUN:     > %t.pgo.log 2> %t.pgo.err
 # RUN: FileCheck --check-prefix CHECK-PGO < %t.pgo.err %s
-# CHECK-PGO: pass
+# CHECK-PGO: TEST_SUITE_PROFILE_GENERATE: 'On'
+# CHECK-PGO: TEST_SUITE_PROFILE_GENERATE: 'Off'
+# CHECK-PGO: TEST_SUITE_PROFILE_USE: 'On'




More information about the llvm-commits mailing list