Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion roottest/cling/other/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ ROOTTEST_ADD_TEST(execValuePrint
OUTREF execValuePrint.ref
LABELS roottest regression cling)

ROOT_EXECUTABLE(testNameEndingWithcl testNameEndingWithcl.cxx LIBRARIES Core)
Comment thread
silverweed marked this conversation as resolved.
ROOTTEST_ADD_TEST(testNameEndingWithcl
EXEC ./testNameEndingWithcl
FAILREGEX "unknown argument"
LABELS roottest regression cling)
ROOT_SET_OUTPUT_DIRECTORIES(testNameEndingWithcl)

if(MSVC)
set(ERREF_FILE checkMissingSymbolExitCode_win32.eref)
else()
Expand All @@ -72,4 +79,4 @@ if(NOT MSVC)
COPY_TO_BUILDDIR dupSymJIT.h
DEPENDS dupSymJIT
LABELS roottest regression cling)
endif()
endif()
8 changes: 8 additions & 0 deletions roottest/cling/other/testNameEndingWithcl.cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Regression test for https://github.com/root-project/root/issues/23493
#include <TROOT.h>

int main() {
// this causes ROOT to be initialized
gROOT;
return 0;
}
Loading