summaryrefslogtreecommitdiff
path: root/dxo-piglit-run
blob: 44f9a19d4d272bba29f7aa87bb1c05e34d61b599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#
# Execute a full run of Piglit, then submit the summary to morningstar
#
# TODO: Automatically determine class
#

piglit=${DXO_PATH}/piglit/repo
resultsdir=${DXO_PATH}/piglit/results
remotedatabase=morningstar:~/web/fdo/piglit-results
class=R500
testprofile=${piglit}/tests/r500-limit.tests
testname=RV530-`date +%Y-%m-%d-%H-%M`

${piglit}/piglit-run.py -n ${testname} ${testprofile} ${resultsdir}

echo
echo "Finished the Piglit run; hit enter when ready to upload test summary."
read
echo "Copying summary to deadlights"
scp ${resultsdir}/summary ${remotedatabase}/incoming/${class}/${testname}