summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/SarifOutput/ScriptModeSarifVariable-check.cmake
blob: c69e4d9c4dbef84cec3f520d5eb04b3bc09edb68 (plain)
1
2
3
4
# Script mode should ignore the SARIF project variable and export nothing
if (EXISTS "${RunCMake_TEST_BINARY_DIR}/.cmake/sarif/cmake.sarif")
  message(FATAL_ERROR "SARIF file should not have been generated in script mode")
endif()