mirror of
https://github.com/reactos/CMake.git
synced 2025-02-17 18:17:57 +00:00
Tests: Fix CheckSourceTree for in-source non-dashboard builds
For in-source builds we must tolerate non-tracked files in the source tree. Previously we only tolerated them for dashboard builds during automated testing, but we should tolerate them for local user builds too. Fixes: #17868
This commit is contained in:
parent
4ac48237a0
commit
46fa1af514
@ -308,13 +308,11 @@ message("=======================================================================
|
||||
if("$ENV{DASHBOARD_TEST_FROM_CTEST}" STREQUAL "")
|
||||
|
||||
# developers are allowed to have local additions and modifications...
|
||||
set(is_dashboard 0)
|
||||
message("interactive test run")
|
||||
message("")
|
||||
|
||||
else()
|
||||
|
||||
set(is_dashboard 1)
|
||||
message("dashboard test run")
|
||||
message("")
|
||||
|
||||
@ -341,7 +339,7 @@ endif()
|
||||
# Not even developers.
|
||||
#
|
||||
if(nonadditions)
|
||||
if(in_source_build AND is_dashboard)
|
||||
if(in_source_build)
|
||||
message("
|
||||
warning: test results confounded because this is an 'in-source' build - cannot
|
||||
distinguish between non-added files that are in-source build products and
|
||||
|
Loading…
x
Reference in New Issue
Block a user