From f7185f658c7da970a24920e425c40207b6a12c09 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Sun, 11 Nov 2007 09:44:50 -0800 Subject: [PATCH] bug 403400 - isTest should ignore ^headers^ files, committing as bustage fix --- testing/mochitest/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/mochitest/server.js b/testing/mochitest/server.js index e38c8cd8b8d..316aa07aa10 100644 --- a/testing/mochitest/server.js +++ b/testing/mochitest/server.js @@ -277,7 +277,8 @@ function isTest(filename, pattern) return filename.indexOf("test_") > -1 && filename.indexOf(".js") == -1 && - filename.indexOf(".css") == -1; + filename.indexOf(".css") == -1 && + filename.substring(filename.length - 9) != "^headers^"; } /**