From 0e46928f3623f9ce01d60d4c7a01f73f673048c0 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Sun, 11 Dec 2011 14:18:40 +0200 Subject: [PATCH] Use paths to binaries for Mac in unit test makefile. --- test/unit/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/unit/Makefile b/test/unit/Makefile index 57ae0c80d..02ca743b0 100644 --- a/test/unit/Makefile +++ b/test/unit/Makefile @@ -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 \