Fixed bug 443: packager.py fails on Mac because of .DS_Store files.

Running packager.py on Mac unfortunately also changes some line terminators in generated files (bug 444), so lots of additional files in this commit.
This commit is contained in:
Norbert Lindenberg 2012-07-18 12:19:53 -07:00
parent 9c48816277
commit d371b39cb6
15 changed files with 18 additions and 14 deletions

View File

@ -171,6 +171,10 @@ for temp in os.listdir(TEST262_CASES_DIR):
print "The expected ES5 test directory,", temp, "did not exist!"
sys.exit(1)
if temp.find("/.") != -1:
# skip hidden files on Unix, such as ".DS_Store" on Mac
continue
if not ONE_JSON_PER_CHAPTER:
dirWalker(temp)
else:

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/default.json";
var TEST_LIST_PATH = "json/default.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"date":"2012-05-18","version":"ES5.1"}
{"date":"2012-07-18","version":"ES5.1"}

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_bestPractice.json";
var TEST_LIST_PATH = "json/testcases_bestPractice.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch07.json";
var TEST_LIST_PATH = "json/testcases_ch07.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch08.json";
var TEST_LIST_PATH = "json/testcases_ch08.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch09.json";
var TEST_LIST_PATH = "json/testcases_ch09.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch10.json";
var TEST_LIST_PATH = "json/testcases_ch10.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch11.json";
var TEST_LIST_PATH = "json/testcases_ch11.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch12.json";
var TEST_LIST_PATH = "json/testcases_ch12.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch13.json";
var TEST_LIST_PATH = "json/testcases_ch13.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch14.json";
var TEST_LIST_PATH = "json/testcases_ch14.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_ch15.json";
var TEST_LIST_PATH = "json/testcases_ch15.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>

View File

@ -6,7 +6,7 @@
<script type="text/javascript" src="harness/sections.js"></script>
<script type="text/javascript">
//Globals
var TEST_LIST_PATH = "json/testcases_intl402.json";
var TEST_LIST_PATH = "json/testcases_intl402.json";
</script>
<script type="text/javascript" src="harness/sth.js"></script>
<script type="text/javascript" src="harness/sta.js"></script>