Changing backticks to $().

pull/3791/head
Nicolas "Pixel" Noble 10 years ago
parent c1440e3cf4
commit 7eacdd4803
  1. 4
      tools/run_tests/post_tests_c.sh
  2. 6
      tools/run_tests/run_lcov.sh

@ -32,9 +32,9 @@ set -ex
if [ "$CONFIG" != "gcov" ] ; then exit ; fi if [ "$CONFIG" != "gcov" ] ; then exit ; fi
root=`readlink -f $(dirname $0)/../..` root=$(readlink -f $(dirname $0)/../..)
out=$root/reports/c_cxx_coverage out=$root/reports/c_cxx_coverage
tmp=`mktemp` tmp=$(mktemp)
cd $root cd $root
lcov --capture --directory . --output-file $tmp lcov --capture --directory . --output-file $tmp
genhtml $tmp --output-directory $out genhtml $tmp --output-directory $out

@ -30,10 +30,10 @@
set -ex set -ex
out=`readlink -f ${1:-coverage}` out=$(readlink -f ${1:-coverage})
root=`readlink -f $(dirname $0)/../..` root=$(readlink -f $(dirname $0)/../..)
tmp=`mktemp` tmp=$(mktemp)
cd $root cd $root
tools/run_tests/run_tests.py -c gcov -l c c++ || true tools/run_tests/run_tests.py -c gcov -l c c++ || true
lcov --capture --directory . --output-file $tmp lcov --capture --directory . --output-file $tmp

Loading…
Cancel
Save