]> git.parisson.com Git - pdf.js.git/commitdiff
Use paths to binaries for Mac in unit test makefile.
authorKalervo Kujala <kkujala@com>
Sun, 11 Dec 2011 12:18:40 +0000 (14:18 +0200)
committerKalervo Kujala <kkujala@com>
Sun, 11 Dec 2011 12:18:40 +0000 (14:18 +0200)
test/unit/Makefile

index 57ae0c80d2ba2d28741b3319b616386574cab285..02ca743b0bb110d9c0ed12016b7879c648b74978 100644 (file)
@@ -1,6 +1,9 @@
 # Fetch the paths to browsers that are going to be used in testing.
 MANIFEST=../resources/browser_manifests/browser_manifest.json
-BROWSERS=$(shell echo `sed -n 's/.*"path":\(.*\)/\1,/p' $(MANIFEST) | tr -d '\n'`)
+BROWSERS=$(shell echo `sed -n 's/.*"path":\(.*\)/\1,/p' $(MANIFEST) | tr -d '\n' | \
+  sed 's/\(Google Chrome\.app\)/\1\/Contents\/MacOS\/Google Chrome/' | \
+  sed 's/\(Firefox[ Beta]*\.app\)/\1\/Contents\/MacOS\/firefox-bin/' \
+`)
 
 # Command to invoke the unit test.
 PROG=java \