<commit_before>SET (CTEST_PROJECT_NAME TestScenarios)
SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")

SET (CTEST_SOURCE_DIRECTORY "/home/yorn/runtime-New_configuration/TestScenarios")
SET (CTEST_BINARY_DIRECTORY "/tmp/build")

# which ctest command to use for running the dashboard
SET (CTEST_COMMAND 
  "/usr/bin/ctest -D ExperimentalCoverage"
  )

# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND 
  "/usr/bin/cmake"
  )

set (CTEST_COVERAGE_COMMAND "/usr/bin/gcov")
SET (CMAKE_C_COMPILER "/usr/bin/clang")
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)

CTEST_START (ExperimentalCoverage)
#CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
# turn on coverage for build and test
#SET(RES 1)
#EXECUTE_PROCESS(COMMAND ${COV01} -1 RESULT_VARIABLE RES)
#IF(RES)
# MESSAGE(FATAL_ERROR "could not run cov01 -1")
#ENDIF(RES)
CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_TEST  (BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}")<commit_msg>Source and binary directory parameterized<commit_after>SET (CTEST_PROJECT_NAME TestScenarios)
SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")

SET (CTEST_BINARY_DIRECTORY $ENV{CTEST_BINARY_DIRECTORY})
IF (NOT CTEST_BINARY_DIRECTORY)
  SET (CTEST_BINARY_DIRECTORY "/tmp/build")
ENDIF (NOT CTEST_BINARY_DIRECTORY)

SET (CTEST_SOURCE_DIRECTORY $ENV{CTEST_SOURCE_DIRECTORY})
MESSAGE ("BINARY: ${CTEST_BINARY_DIRECTORY}")
IF (NOT CTEST_SOURCE_DIRECTORY)
  SET (CTEST_SOURCE_DIRECTORY "/home/yorn/runtime-New_configuration/TestScenarios")
ENDIF (NOT CTEST_SOURCE_DIRECTORY)

# which ctest command to use for running the dashboard
SET (CTEST_COMMAND 
  "/usr/bin/ctest -D ExperimentalCoverage"
  )

# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND 
  "/usr/bin/cmake"
  )

set (CTEST_COVERAGE_COMMAND "/usr/bin/gcov")
SET (CMAKE_C_COMPILER "/usr/bin/clang")
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)

CTEST_START (ExperimentalCoverage)
#CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
# turn on coverage for build and test
#SET(RES 1)
#EXECUTE_PROCESS(COMMAND ${COV01} -1 RESULT_VARIABLE RES)
#IF(RES)
# MESSAGE(FATAL_ERROR "could not run cov01 -1")
#ENDIF(RES)
CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_TEST  (BUILD "${CTEST_BINARY_DIRECTORY}")
CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}")
{'fraction_non_alphanumeric': 0.10646078829744006, 'fraction_numerical': 0.005688744412840309, 'mean_word_length': 7.5190311418685125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6180214', 'n_tokens_mistral': 931, 'n_tokens_neox': 919, 'n_words': 196}