File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1212
1313cd $( dirname $( readlink -f " $0 " ) )
1414
15- tensorflow_version=1.1.0
15+ tensorflow_version=1.2.1
1616
1717valgrind_log=valgrind.log
1818truncate --size=0 " $valgrind_log "
Original file line number Diff line number Diff line change 22
33set -e
44
5+ # Make sure the Tensorflow version in the -sys build script matches the one in
6+ # the run-valgrind script.
7+ version_build_script=` grep " const VERSION" tensorflow-sys/build.rs | sed ' s|.*"\([0-9\.]*\)";|\1|g' `
8+ version_run_valgrind=` grep " tensorflow_version=" run-valgrind | sed " s|.*=\(.*\)|\1|g" `
9+ if [[ " ${version_build_script} " != " ${version_run_valgrind} " ]]; then
10+ echo " ERROR: Tensorflow version specified in build script does not match the one in the"
11+ echo " valgrind run script."
12+ echo " tensorflow-sys/build.rs: ${version_build_script} "
13+ echo " run-valgrind: ${version_run_valgrind} "
14+ exit 1
15+ fi
16+
517cargo test -vv -j 2 --features tensorflow_unstable
618cargo run --example regression
719cargo run --features tensorflow_unstable --example expressions
You can’t perform that action at this time.
0 commit comments