~ubuntu-x-swat/xorg-server/xsmoke

« back to all changes in this revision

Viewing changes to runtests.sh

  • Committer: Bryce Harrington
  • Date: 2008-12-07 09:03:15 UTC
  • Revision ID: bryce@canonical.com-20081207090315-oyutcnf2se4sjx6w
Fixing paths

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
i=0
42
42
declare -a result
43
43
for case in tests/xst-*.sh ; do
44
 
    json_file=${RESULTS_DIR}/${case%.sh}.json
45
 
    out_file=${RESULTS_DIR}/${case%.sh}.out
 
44
    json_file=${RESULTS_DIR}/$(basename ${case%.sh}.json)
 
45
    out_file=${RESULTS_DIR}/$(basename ${case%.sh}.out)
46
46
    $case ${json_file} | tee ${out_file} | grep -e "^\[[A-Z]\] "
47
47
    result[$i]=${case%.sh}":  "$(tail -n 1 ${out_file})
48
 
    test_xorg_restart
 
48
    test_xorg_restart > /dev/null
 
49
    # TODO:  Check test_xorg_restart() exit code
49
50
    let i=i+1
50
51
done
51
52