diff --git a/DRAMSys/tests/DDR3/ci.yml b/DRAMSys/tests/DDR3/ci.yml index 7462848f..a0270dc4 100644 --- a/DRAMSys/tests/DDR3/ci.yml +++ b/DRAMSys/tests/DDR3/ci.yml @@ -11,11 +11,11 @@ example_ddr3: - cd ../traceAnalyzer - python3 ../../DRAMSys/traceAnalyzer/scripts/tests.py ../simulator/ddr3-example_ddr3_ch0.tdb | if ! grep "failed"; then exit 0; else exit 1; fi # Run Code Coverage - - lcov -c -d build/ -o coverage/{$CI_JOB_NAME}.out + - lcov -c -d ${CI_PROJECT_DIR}/build/ -o ${CI_PROJECT_DIR}/coverage/${CI_JOB_NAME}.out artifacts: paths: - build/simulator/ddr3-example_ddr3_ch0.tdb - - coverage/{$CI_JOB_NAME}.out + - coverage/${CI_JOB_NAME}.out expire_in: 2 days # Testing Reordering with FR_FCFS Scheduling Algorithm: @@ -31,14 +31,14 @@ fr_fcfs: - cd ../traceAnalyzer - python3 ../../DRAMSys/traceAnalyzer/scripts/tests.py ../simulator/ddr3-fr_fcfs_ddr3_ch0.tdb | if ! grep "failed"; then exit 0; else exit 1; fi # Run Code Coverage - - lcov -c -d build/ -o coverage/{$CI_JOB_NAME}.out + - lcov -c -d ${CI_PROJECT_DIR}/build/ -o ${CI_PROJECT_DIR}/coverage/${CI_JOB_NAME}.out allow_failure: true # TODO should be removed after first tests artifacts: paths: - build/simulator/ddr3-fr_fcfs_ddr3_ch0.tdb - - coverage/{$CI_JOB_NAME}.out + - coverage/${CI_JOB_NAME}.out expire_in: 2 days # Testing with TLM Protocol Cchecker @@ -49,9 +49,9 @@ protocol_checker: - ./DRAMSys ../../DRAMSys/tests/DDR3/simulations/ddr3-protocol_checker.xml ../../DRAMSys/tests/DDR3/ - echo "TODO" # Run Code Coverage - - lcov -c -d build/ -o coverage/{$CI_JOB_NAME}.out + - lcov -c -d ${CI_PROJECT_DIR}/build/ -o ${CI_PROJECT_DIR}/coverage/${CI_JOB_NAME}.out artifacts: paths: - - coverage/{$CI_JOB_NAME}.out + - coverage/${CI_JOB_NAME}.out expire_in: 2 days diff --git a/DRAMSys/tests/WIDEIO/ci.yml b/DRAMSys/tests/WIDEIO/ci.yml index 445a8596..834eceb8 100644 --- a/DRAMSys/tests/WIDEIO/ci.yml +++ b/DRAMSys/tests/WIDEIO/ci.yml @@ -16,7 +16,7 @@ example_wideio: - python3 ../../DRAMSys/traceAnalyzer/scripts/tests.py ../simulator/wideio-example_wideio_ch2.tdb | if ! grep "failed"; then exit 0; else exit 1; fi - python3 ../../DRAMSys/traceAnalyzer/scripts/tests.py ../simulator/wideio-example_wideio_ch3.tdb | if ! grep "failed"; then exit 0; else exit 1; fi # Run Code Coverage - - lcov -c -d build/ -o coverage/{$CI_JOB_NAME}.out + - lcov -c -d ${CI_PROJECT_DIR}/build/ -o ${CI_PROJECT_DIR}/coverage/${CI_JOB_NAME}.out allow_failure: true # TODO: should be removed once the problems are fixed! @@ -26,6 +26,6 @@ example_wideio: - build/simulator/wideio-example_wideio_ch1.tdb - build/simulator/wideio-example_wideio_ch2.tdb - build/simulator/wideio-example_wideio_ch3.tdb - - coverage/{$CI_JOB_NAME}.out + - coverage/${CI_JOB_NAME}.out expire_in: 2 days