[llvm-dev] Running "different tests" on cmake based test-suite build
Arnaud De Grandmaison via llvm-dev
llvm-dev at lists.llvm.org
Thu Nov 24 01:12:07 PST 2016
The CMake version of the test-suite has been improved (see https://reviews.llvm.org/D21360) so that it’s easy to plug additional test suites. A starting point would be to look at how the TEST_SUITE_SUBDIRS variable in the top level CMakeLists.txt is used.
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Sandeep Dasgupta via llvm-dev
Sent: 24 November 2016 02:32
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] Running "different tests" on cmake based test-suite build
With configure based build deprecated on llvm, how can I run different tests/pass on the suite (http://llvm.org/docs/TestSuiteMakefileGuide.html#running-different-tests)?
Right now I am having a hacky solution, which includes running the "still present" configure file of test-suite to generate the MAKE.<MYPASS>.Makefile;
<llvmsrc>/project/test-suite/configure --enable-optimized -disable-assertions
but while running 'make TEST=PASS' I am getting error for trying to include $(LLVM_OBJ_ROOT)/Makefile.config which is obviously not there on a cmake based llvm build. I have to edit the generated makefile to bypass this.
Can you please point me to some clean solution or let me know if am missing something?
With Thanks and Regards
Research Assistant CS @UIUC
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev