From 52ee0480060ae534b81b9694bc0664d7ed1946ae Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Fri, 9 Nov 2018 00:24:25 +0100 Subject: [PATCH] CI Repair --- DRAMSys/tests/ddr3-example/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DRAMSys/tests/ddr3-example/ci.yml b/DRAMSys/tests/ddr3-example/ci.yml index 294afd0c..c5088bf0 100644 --- a/DRAMSys/tests/ddr3-example/ci.yml +++ b/DRAMSys/tests/ddr3-example/ci.yml @@ -3,4 +3,8 @@ example_ddr3: script: - cd build/simulator - ./DRAMSys ../../DRAMSys/tests/ddr3-example/simulations/ddr3-example.xml ../../DRAMSys/tests/ddr3-example/ - - if [[ $(sqldiff ../../DRAMSys/tests/ddr3-example/ddr3-example_ddr3_ch0.tdb ddr3-example_ddr3_ch0.tdb) ]]; then false ; else true ; + - perl -e 'if(`sqldiff ../../DRAMSys/tests/ddr3-example/ddr3-example_ddr3_ch0.tdb ddr3-example_ddr3_ch0.tdb` eq "") {exit(0)} else {exit(-1)}' + artifacts: + paths: + - ddr3-example_ddr3_ch0.tdb + expire_in: 2 days