Fixed Variable usage in CC

This commit is contained in:
Johannes Feldmann
2018-12-18 09:52:10 +01:00
parent 037a9686a7
commit 732ae97bb3
2 changed files with 8 additions and 8 deletions

View File

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

View File

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