]> git.parisson.com Git - pdf.js.git/commitdiff
fix paths for browser-tests target
authorChris Jones <jones.chris.g@gmail.com>
Sun, 10 Jul 2011 06:16:04 +0000 (23:16 -0700)
committerChris Jones <jones.chris.g@gmail.com>
Sun, 10 Jul 2011 06:16:04 +0000 (23:16 -0700)
Makefile

index 9b2817fc4b43855160a5e1da4a73769aea0490d5..a6f3ba3a409b6700f969349e5f9c94bb8da9da40 100644 (file)
--- 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
 #