test_one.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 set -e
4 set -x
5 
6 testdir=$(dirname $(readlink -f $BASH_SOURCE))
7 what="$1"
8 
9 jpath="$testdir/.."
10 input="$testdir/test_${what}.jsonnet"
11 cfg="$testdir/test_${what}.cfg"
12 
13 jsonnet -J $jpath $input > $cfg
14 
15 wire-cell -c $cfg
16