gtk2/testsuite/tools/test-settings.in
Matthias Clasen 5c248bbd79 Make the settings test fail
Small thinko: We only get to see the test artifacts in
continuous if the test fails. So make it fail, temporarily.
2016-03-05 15:49:34 -05:00

18 lines
354 B
Bash
Executable File

#! /bin/bash
GTK_QUERY_SETTINGS=${GTK_QUERY_SETTINGS:-gtk-query-settings}
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
shopt -s nullglob
echo "1..1"
name=gtk-query-settings
result=$TEST_RESULT_DIR/$name.out
$GTK_QUERY_SETTINGS 2>/dev/null >$result
if [ $(wc -l $result | cut -f1 -d' ') -eq 882 ]; then
echo "ok 1 $name"
else
echo "not ok 1 $name"
fi