]> git.parisson.com Git - pdf.js.git/commitdiff
Set the Makefile variables correctly for unit test.
authorKalervo Kujala <kkujala@com>
Tue, 20 Dec 2011 23:21:15 +0000 (01:21 +0200)
committerKalervo Kujala <kkujala@com>
Tue, 20 Dec 2011 23:21:15 +0000 (01:21 +0200)
test/unit/Makefile

index e7f157cd536b9f8d526ddc60fcec2e4b6115edb5..10a915ca862965996186051e5bbc03d631e68e08 100644 (file)
@@ -1,22 +1,22 @@
 # Create temporary profile directory name.
-TEMP_PROFILE_DIR=./test_reports/temp_profile
+TEMP_PROFILE_DIR:=./test_reports/temp_profile
 
 # These are the Firefox command line arguments.
-FIREFOX_ARGS=-no-remote -profile $(TEMP_PROFILE_DIR)
+FIREFOX_ARGS:=-no-remote -profile $(TEMP_PROFILE_DIR)
 
 # These are the Chrome command line arguments.
-CHROME_ARGS=--user-data-dir=$(TEMP_PROFILE_DIR) --no-first-run --disable-sync
+CHROME_ARGS:=--user-data-dir=$(TEMP_PROFILE_DIR) --no-first-run --disable-sync
 
 # Unit test uses the manifest from ref test to determine which browsers will
 # be used for running the unit tests.
-MANIFEST=../resources/browser_manifests/browser_manifest.json
+MANIFEST:=../resources/browser_manifests/browser_manifest.json
 
 # Fetch the paths to browsers that are going to be used in testing.
 # For OS X the path to the binary needs to be added.
 # Add the browser arguments for each browser.
 # Create random profile directory for each browser.
 # Replace " with @@@@ so that echoing do not destroy the quotation marks.
-BROWSERS_WITH_UKNOWN_RANDOM_PROFILE_PATHS=$(shell echo `\
+BROWSERS_WITH_UKNOWN_RANDOM_PROFILE_PATHS:=$(shell echo `\
   sed -n 's|.*"path":\(.*\)|\1,|p' $(MANIFEST) | \
   sed 's|\(Aurora\.app\)|\1/Contents/MacOS/firefox-bin|' | \
   sed 's|\(Firefox.*\.app\)|\1/Contents/MacOS/firefox-bin|' | \