[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
Hi Sandeep,
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.
Kind regards,
Arnaud
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
Hello Friends,
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;
cd external-testsuite-build-loc
<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
Sandeep Dasgupta
Research Assistant CS @UIUC
(http://web.engr.illinois.edu/~sdasgup3/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161124/c532af8d/attachment.html>
More information about the llvm-dev
mailing list