#!/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=R300 testprofile=${piglit}/tests/r300-limit.tests testname=R300ND-`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}