mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
test: Use .../piglit instead of .../piglit-*.py
The latter use Python 2 and break with any non-ASCII characters in the environment, the former uses Python 3 and works fine in that case. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
committed by
Michel Dänzer
parent
f56d8e2282
commit
4aaaf69229
@@ -49,8 +49,8 @@ $XSERVER_BUILDDIR/test/simple-xinit \
|
||||
# Write out piglit-summaries.
|
||||
SHORT_SUMMARY=$PIGLIT_RESULTS_DIR/summary
|
||||
LONG_SUMMARY=$PIGLIT_RESULTS_DIR/long-summary
|
||||
$PIGLIT_DIR/piglit-summary.py -s $PIGLIT_RESULTS_DIR > $SHORT_SUMMARY
|
||||
$PIGLIT_DIR/piglit-summary.py $PIGLIT_RESULTS_DIR > $LONG_SUMMARY
|
||||
$PIGLIT_DIR/piglit summary console -s $PIGLIT_RESULTS_DIR > $SHORT_SUMMARY
|
||||
$PIGLIT_DIR/piglit summary console $PIGLIT_RESULTS_DIR > $LONG_SUMMARY
|
||||
|
||||
# Write the short summary to make check's log file.
|
||||
cat $SHORT_SUMMARY
|
||||
@@ -69,7 +69,7 @@ if ! grep "^ *crash: *0$" $SHORT_SUMMARY > /dev/null; then
|
||||
status=1
|
||||
fi
|
||||
|
||||
$PIGLIT_DIR/piglit-summary-html.py \
|
||||
$PIGLIT_DIR/piglit summary html \
|
||||
--overwrite \
|
||||
$PIGLIT_RESULTS_DIR/html \
|
||||
$PIGLIT_RESULTS_DIR
|
||||
|
||||
@@ -32,4 +32,4 @@ PIGLIT_ARGS="$PIGLIT_ARGS -x xloadqueryfont@1"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@1"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@2"
|
||||
|
||||
exec ./piglit-run.py xts-render $PIGLIT_ARGS $PIGLIT_RESULTS_DIR
|
||||
exec ./piglit run xts-render $PIGLIT_ARGS $PIGLIT_RESULTS_DIR
|
||||
|
||||
Reference in New Issue
Block a user