diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 10:40:52 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 10:40:52 (GMT) |
commit | bb2e4df9bee3148e819c98410aa36e22dad95d7a (patch) | |
tree | a6e6e8c070a72378d4b2e5f39ad3cc9c368b61ab /tests/auto/selftests/updateBaselines.sh | |
download | Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.zip Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.gz Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.bz2 |
Initial import of kinetic-animations branch from the old kinetic
repository to the new repository
Diffstat (limited to 'tests/auto/selftests/updateBaselines.sh')
-rwxr-xr-x | tests/auto/selftests/updateBaselines.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/auto/selftests/updateBaselines.sh b/tests/auto/selftests/updateBaselines.sh new file mode 100755 index 0000000..a0f22e6 --- /dev/null +++ b/tests/auto/selftests/updateBaselines.sh @@ -0,0 +1,34 @@ +# Be *really* sure that your fix is right, before running this script. + +tests=" \ + cmptest \ + cmptest \ + cmptest \ + datatable \ + datetime \ + expectfail \ + expectfail \ + globaldata \ + globaldata \ + maxwarnings \ + multiexec \ + singleskip \ + qexecstringlist \ + differentexec \ + skip \ + skip \ + skipglobal \ + sleep \ + strcmp \ + subtest \ + warnings" + +for test in $tests; do + echo "Updating $test" + cd $test + baseline="../expected_"$test".txt" + p4 edit $baseline + ./tst_$test > ../expected_"$test".txt + p4 revert -a $baseline + cd .. +done |