Bug 384235 - The check-interactive target doesn't load head_*, tail_* files for a test. Patch by Alex Vincent <ajvincent@gmail.com>. r=rcampbell

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-06-26 17:51:33 -07:00
Родитель fc5b52d4f2
Коммит 1cd9105172
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -92,7 +92,7 @@ target_js="$5"
# files matching the pattern head_*.js are treated like test setup files
# - they are run after head.js but before the test file
headfiles="-f $topsrcdir/tools/test-harness/xpcshell-simple/head.js"
for h in $testdir/head_*.js
for h in $testdir/unit/head_*.js
do
if [ -f $h ]; then
headfiles="$headfiles -f $h"
@ -103,7 +103,7 @@ done
# - they are run after tail.js
tailfiles="-f $topsrcdir/tools/test-harness/xpcshell-simple/tail.js"
#tailfiles="$tailfiles -f $topsrcdir/tools/test-harness/xpcshell-simple/execute_test.js"
for t in $testdir/tail_*.js
for t in $testdir/unit/tail_*.js
do
if [ -f $t ]; then
tailfiles="$tailfiles -f $t"