Просмотр исходного кода

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
Israel Blancas 7 лет назад
Родитель
Сommit
46fa1af514
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      Tests/CMakeTests/CheckSourceTreeTest.cmake.in

+ 1 - 3
Tests/CMakeTests/CheckSourceTreeTest.cmake.in

@@ -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