Skip to content
Snippets Groups Projects
Commit 1e58a709 authored by Michele Alberti's avatar Michele Alberti
Browse files

Merge branch 'fix_tmp_dir_filtering' into 'master'

Fix log filtering with $TMPDIR

See merge request laiser/caisar!33
parents b259ee92 3a479680
No related branches found
No related tags found
No related merge requests found
...@@ -6,5 +6,6 @@ ...@@ -6,5 +6,6 @@
TestSVM.ovo TestSVM.ovo
bin/pyrat.py bin/pyrat.py
bin/Marabou bin/Marabou
bin/saver) bin/saver
filter_tmpdir.sh)
(package caisar)) (package caisar))
#!/bin/bash -eu
exec sed -e "s&${TMPDIR:-/tmp}/[a-z0-9_./]*&\$TMPFILE&"
...@@ -17,7 +17,7 @@ Test verify ...@@ -17,7 +17,7 @@ Test verify
$ PATH=$(pwd)/bin:$PATH $ PATH=$(pwd)/bin:$PATH
$ caisar verify -L . --format whyml --prover=Marabou - 2>&1 <<EOF | sed 's/\/tmp\/[a-z0-9_./]*/$TMPFILE/' $ caisar verify -L . --format whyml --prover=Marabou - 2>&1 <<EOF | ./filter_tmpdir.sh
> theory T > theory T
> use TestNetwork.NNasTuple > use TestNetwork.NNasTuple
> use ieee_float.Float64 > use ieee_float.Float64
......
...@@ -20,7 +20,7 @@ Test verify ...@@ -20,7 +20,7 @@ Test verify
$ PATH=$(pwd)/bin:$PATH $ PATH=$(pwd)/bin:$PATH
$ caisar verify -L . --format whyml --prover=PyRAT - 2>&1 <<EOF | sed 's/\/tmp\/[a-z0-9_./]*/$TMPFILE/' $ caisar verify -L . --format whyml --prover=PyRAT - 2>&1 <<EOF | ./filter_tmpdir.sh
> theory T > theory T
> use TestNetwork.NNasTuple > use TestNetwork.NNasTuple
> use ieee_float.Float64 > use ieee_float.Float64
......
...@@ -17,7 +17,7 @@ Test verify ...@@ -17,7 +17,7 @@ Test verify
$ PATH=$(pwd)/bin:$PATH $ PATH=$(pwd)/bin:$PATH
$ caisar verify -L . --format whyml --prover=PyRAT - 2>&1 <<EOF | sed 's/\/tmp\/[a-z0-9_./]*/$TMPFILE/' $ caisar verify -L . --format whyml --prover=PyRAT - 2>&1 <<EOF | ./filter_tmpdir.sh
> theory T > theory T
> use TestNetworkONNX.NNasTuple > use TestNetworkONNX.NNasTuple
> use ieee_float.Float64 > use ieee_float.Float64
......
...@@ -25,7 +25,7 @@ Test verify ...@@ -25,7 +25,7 @@ Test verify
$ PATH=$(pwd)/bin:$PATH $ PATH=$(pwd)/bin:$PATH
$ caisar verify -L . --format whyml --prover=SAVer --dataset-csv=test_data.csv - 2>&1 <<EOF | sed 's/\/tmp\/[a-z0-9_./]*/$TMPFILE/' $ caisar verify -L . --format whyml --prover=SAVer --dataset-csv=test_data.csv - 2>&1 <<EOF | ./filter_tmpdir.sh
> theory T > theory T
> use TestSVM.SVMasArray > use TestSVM.SVMasArray
> use ieee_float.Float64 > use ieee_float.Float64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment