Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: third_party/xdg-utils/tests/tet_run

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/xdg-utils/tests/tet_run
===================================================================
--- third_party/xdg-utils/tests/tet_run (revision 0)
+++ third_party/xdg-utils/tests/tet_run (revision 0)
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+## FILL THIS IN or be sure environment is correct.
+#XDG_TEST_DIR=
+#TET_ROOT=
+
+export XDG_TEST_NO_INTERACTIVE="true"
+
+if [ -z "$XDG_TEST_DIR" ] ; then
+ # User didn't follow directions, make a guess.
+ XDG_TEST_DIR=`pwd`
+fi
+if [ -z "$TET_ROOT" ] ; then
+ # can't really guess
+ echo "TET_ROOT is not defined!!"
+ exit 1
+fi
+USING_TET="true"
+TEST_GROUPS=`find "$XDG_TEST_DIR" -type d -name 'xdg-*'`
+TEST_FILES=`find $TEST_GROUPS -name 't.*'`
+
+## load all the tests.
+for t in $TEST_FILES; do
+ . "$t"
+done
+
+. "$XDG_TEST_DIR/include/testcontrol.sh"
+
+tet_startup="test_setup"
+tet_cleanup="test_cleanup"
+
+## $iclist and all $ic1 ... $icN variables are now defined.
+echo "iclist: $iclist"
+
+## Launch TET
+. "$TET_ROOT/lib/xpg3sh/tcm.sh"
Property changes on: third_party/xdg-utils/tests/tet_run
___________________________________________________________________
Name: svn:executable
+ *
« no previous file with comments | « third_party/xdg-utils/tests/testrun ('k') | third_party/xdg-utils/tests/xdg-desktop-icon/data/desktop_icon_install.desktop » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698