[PATCH] [compiler-rt][builtins] CTest to execute builtins testsuite

Faraz Shahbazker Faraz.Shahbazker at imgtec.com
Mon Jun 23 01:31:53 PDT 2014


Hi samsonov, howard.hinnant,

There doesn't seem to be a defined procedure for running the builtins testsuite. There is a 'test' shell script in test/builtins/Unit but it seems to be outdated and specific to darwin with hard-coded paths.

Comments in test/CMakeLists.txt suggest that builtins and BlockRunTime testsuites have not yet been ported to lit framework. Attached is a rudimentary CTest setup to run the unit tests in builtins, as a stop-gap until the test
sources can be modified for lit.

The new target to trigger test run is `check-builtins'. It is intended to stop after building tests for cross-builds, else build and execute for native builds. Hope it is useful!

http://reviews.llvm.org/D4251

Files:
  test/CMakeLists.txt
  test/builtins/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4251.10740.patch
Type: text/x-patch
Size: 6563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140623/9bff3b6f/attachment.bin>


More information about the llvm-commits mailing list