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

Unified Diff: mozilla-tests/detect-universe.sh

Issue 2865028: Update the mozilla tests to new version (as of 2010-06-29). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 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
« no previous file with comments | « mozilla-tests/browser.js ('k') | mozilla-tests/e4x/Expressions/regress-496113.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozilla-tests/detect-universe.sh
===================================================================
--- mozilla-tests/detect-universe.sh (revision 43940)
+++ mozilla-tests/detect-universe.sh (working copy)
@@ -41,7 +41,7 @@
cat <<EOF
`basename $0`: error
-TEST_DIR, the location of the Sisyphus framework,
+TEST_DIR, the location of the Sisyphus framework,
is required to be set prior to calling this script.
EOF
exit 2
@@ -71,8 +71,8 @@
variable description
=============== ============================================================
--p products required. one or more of firefox, thunderbird, js
--b branches required. one or more of 1.8.0, 1.8.1, 1.9.0, 1.9.1
+-p products required. one or more of firefox, thunderbird, fennec, js
+-b branches required. one or more of supported branches. set library.sh
-R repositories required. one or more of CVS, mozilla-central, ...
-T buildtype required. one or more of opt debug
@@ -82,15 +82,15 @@
}
while getopts "p:b:R:T:" optname
-do
+do
case $optname in
- p)
+ p)
products=$OPTARG;;
- b)
+ b)
branches=$OPTARG;;
R)
repos=$OPTARG;;
- T)
+ T)
buildtypes=$OPTARG;;
esac
done
@@ -101,35 +101,26 @@
source $TEST_DIR/bin/library.sh
-# convert the numeric speed rating to a prose value
-if [[ $TEST_CPUSPEED -lt 4 ]]; then
- TEST_CPUSPEED=slow
-elif [[ $TEST_CPUSPEED -lt 9 ]]; then
- TEST_CPUSPEED=medium
-else
- TEST_CPUSPEED=fast
-fi
-
(for product in $products; do
for branch in $branches; do
for repo in $repos; do
- if [[ "$branch" == "1.9.1" && $repo == "CVS" ]]; then
+ if [[ ("$branch" != "1.8.0" && "$branch" != "1.8.1" && "$branch" != "1.9.0") && $repo == "CVS" ]]; then
continue;
fi
- if [[ "$branch" != "1.9.1" && $repo != "CVS" ]]; then
+ if [[ ("$branch" == "1.8.0" || "$branch" == "1.8.1" || "$branch" == "1.9.0") && $repo != "CVS" ]]; then
continue
fi
- for buildtype in $buildtypes; do
- if [[ $product == "js" ]]; then
- testtype=shell
- else
- testtype=browser
- fi
- echo "TEST_OS=$OSID, TEST_KERNEL=$TEST_KERNEL, TEST_PROCESSORTYPE=$TEST_PROCESSORTYPE, TEST_MEMORY=$TEST_MEMORY, TEST_CPUSPEED=$TEST_CPUSPEED, TEST_TIMEZONE=$TEST_TIMEZONE, TEST_BRANCH=$branch, TEST_REPO=$repo, TEST_BUILDTYPE=$buildtype, TEST_TYPE=$testtype"
- done
+ for buildtype in $buildtypes; do
+ if [[ $product == "js" ]]; then
+ testtype=shell
+ else
+ testtype=browser
+ fi
+ echo "TEST_OS=$OSID, TEST_KERNEL=$TEST_KERNEL, TEST_PROCESSORTYPE=$TEST_PROCESSORTYPE, TEST_MEMORY=$TEST_MEMORY, TEST_TIMEZONE=$TEST_TIMEZONE, TEST_BRANCH=$branch, TEST_REPO=$repo, TEST_BUILDTYPE=$buildtype, TEST_TYPE=$testtype"
+ done
done
done
done) | sort -u
« no previous file with comments | « mozilla-tests/browser.js ('k') | mozilla-tests/e4x/Expressions/regress-496113.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698