Fix _NullFile for MinGW
This commit is contained in:
1 parent
2580eadc42
commit
fcbf006c78
2 files changed
+2
-2
No files matched your search
@@ -483,7 +483,7 @@ set_tests_properties("ErrorHandling::InvalidTestSpecExitsEarly"
|
||||
FAIL_REGULAR_EXPRESSION "No tests ran"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
if(WIN32)
|
||||
set(_NullFile "NUL")
|
||||
else()
|
||||
set(_NullFile "/dev/null")
|
||||
|
||||
@@ -273,7 +273,7 @@ set_tests_properties(Reporters::CapturedStdOutInEvents
|
||||
FAIL_REGULAR_EXPRESSION "X27 ERROR"
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
if(WIN32)
|
||||
set(_NullFile "NUL")
|
||||
else()
|
||||
set(_NullFile "/dev/null")
|
||||
|
||||
Reference in new issue
Block a user