Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: tests/toolchain/nacl.scons

Issue 1021303003: Enable using the toolchain (llvm) provided FileCheck. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: FileCheck wrapper as py. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/toolchain/dwarf_method_ptr.cc ('k') | tools/llvm_file_check_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/toolchain/nacl.scons
diff --git a/tests/toolchain/nacl.scons b/tests/toolchain/nacl.scons
index 9f888229746dfc1764312a676ceba38c1929cd54..b0f2c6978fed01e67f760f57db64cea9c5c96ed4 100644
--- a/tests/toolchain/nacl.scons
+++ b/tests/toolchain/nacl.scons
@@ -499,6 +499,29 @@ if debug_env.AllowNonStableBitcode():
debug_env.AddNodeToTestSuite(node,
['small_tests', 'toolchain_tests'],
'run_dwarf_local_var_objdump_test')
+ if env.Bit('bitcode'):
Derek Schuff 2015/03/24 16:57:13 add or env.Bit('nacl_clang')
+ dwarf_method_ptr_nexe = debug_env.ComponentProgram(
+ 'dwarf_method_ptr',
+ ['dwarf_method_ptr.cc'],
+ EXTRA_LIBS=['${NONIRT_LIBS}'])
+
+ # Sanity-check -- make sure it runs.
+ node = debug_env.CommandSelLdrTestNacl('dwarf_method_ptr_run.out',
+ dwarf_method_ptr_nexe,
+ exit_status=42)
+ debug_env.AddNodeToTestSuite(node,
+ ['toolchain_tests', 'small_tests'],
+ 'run_dwarf_method_ptr_run_test')
+
+ file = debug_env.File('dwarf_method_ptr.cc')
+ node = debug_env.CommandTestFileDumpCheck('dwarf_method_ptr_objdump.out',
+ dwarf_method_ptr_nexe,
+ file,
+ '-W',
+ use_llvm_filecheck=True)
+ debug_env.AddNodeToTestSuite(node,
+ ['small_tests', 'toolchain_tests'],
+ 'run_dwarf_method_ptr_objdump_test')
if env.Bit('nacl_glibc'):
nexe = env.ComponentProgram('byteswap64', 'byteswap64.c',
« no previous file with comments | « tests/toolchain/dwarf_method_ptr.cc ('k') | tools/llvm_file_check_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698