Skip to content

Commit aef92e0

Browse files
committed
[Tests] Use existing ENABLE_SERVER_TESTS option in tests/XrdCl
This was an oversight when adding the option in commit below. Fixes: a5cfef7
1 parent 2c269c6 commit aef92e0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/XrdCl/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ target_link_libraries(xrdcl-unit-tests
1010

1111
gtest_discover_tests(xrdcl-unit-tests TEST_PREFIX XrdCl::)
1212

13-
if(XRDCL_ONLY)
14-
return()
15-
endif()
16-
17-
execute_process(COMMAND id -u OUTPUT_VARIABLE UID OUTPUT_STRIP_TRAILING_WHITESPACE)
18-
19-
if (UID EQUAL 0)
13+
if(NOT ENABLE_SERVER_TESTS)
2014
return()
2115
endif()
2216

0 commit comments

Comments
 (0)