Skip to content

Commit 03e2b49

Browse files
committed
feat: remove unnecessary env for kernel-tests
1 parent ae466dc commit 03e2b49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/kernels/test/modify_test_commands.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ foreach(ctest_tests_file IN LISTS ctest_tests_files)
1212
content "${content}")
1313

1414
# add environment
15-
string(REGEX REPLACE
16-
"set_tests_properties\\([ \t\r\n]*\\[==\\[([^]]+)\\]==\\][ \t\r\n]+PROPERTIES[ \t\r\n]+([^)]+)\\)"
17-
"set_tests_properties( [==[\\1]==] PROPERTIES \\2 ENVIRONMENT \"NIXPKGS_ALLOW_UNFREE=1\")"
18-
content "${content}")
15+
# string(REGEX REPLACE
16+
# "set_tests_properties\\([ \t\r\n]*\\[==\\[([^]]+)\\]==\\][ \t\r\n]+PROPERTIES[ \t\r\n]+([^)]+)\\)"
17+
# "set_tests_properties( [==[\\1]==] PROPERTIES \\2 ENVIRONMENT \"NIXPKGS_ALLOW_UNFREE=1\")"
18+
# content "${content}")
1919

2020
file(WRITE "${ctest_tests_file}" "${content}")
2121
endforeach()

0 commit comments

Comments
 (0)