From fe9098278dba6d39f04dc997ab861a9bddbb4af5 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sat, 9 Jul 2011 23:16:04 -0700 Subject: [PATCH] fix paths for browser-tests target --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9b2817fc4..a6f3ba3a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ REPO = git@github.com:andreasgal/pdf.js.git BUILD_DIR := build -DEFAULT_BROWSERS := test/resources/browser_manifests/browser_manifest.json -DEFAULT_TESTS := test/test_manifest.json +DEFAULT_BROWSERS := resources/browser_manifests/browser_manifest.json +DEFAULT_TESTS := test_manifest.json # Let folks define custom rules for their clones. -include local.mk @@ -43,7 +43,7 @@ PDF_BROWSERS := $(DEFAULT_BROWSERS) endif browser-test: - @if [ ! -f "$(PDF_BROWSERS)" ]; then \ + @if [ ! -f "test/$(PDF_BROWSERS)" ]; then \ echo "Browser manifest file $(PDF_BROWSERS) does not exist."; \ echo "Try copying one of the examples" \ "in test/resources/browser_manifests/"; \ @@ -52,8 +52,8 @@ browser-test: cd test; \ python test.py --reftest \ - --browserManifestFile=$(abspath $(PDF_BROWSERS)) \ - --manifestFile=$(abspath $(PDF_TESTS)) + --browserManifestFile=$(PDF_BROWSERS) \ + --manifestFile=$(PDF_TESTS) # make shell-test #