зеркало из https://github.com/mozilla/gecko-dev.git
Added BWTestThread.java in makefiles, removed print stmt. from TestLoader
This commit is contained in:
Родитель
0eb8a53f6d
Коммит
3bb2393d1b
|
@ -18,6 +18,7 @@ all:
|
|||
|
||||
JAVAFILES= Execution.java \
|
||||
BWBaseTest.java \
|
||||
BWTestThread.java \
|
||||
TestLoader.java \
|
||||
ParamCombination.java \
|
||||
ReflectionTest.java \
|
||||
|
|
|
@ -18,6 +18,7 @@ all:
|
|||
|
||||
JAVAFILES= Execution.java \
|
||||
BWBaseTest.java \
|
||||
BWTestThread.java \
|
||||
TestLoader.java \
|
||||
ParamCombination.java \
|
||||
ReflectionTest.java \
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
HOMEDIR=..
|
||||
SRCDIR=$(HOMEDIR)\src
|
||||
CLASSDIR=$(HOMEDIR)\classes
|
||||
|
||||
JAVAC=javac
|
||||
TESTPACKAGE=org\mozilla\dom\test
|
||||
DOMPACKAGE=org\mozilla\dom
|
||||
|
||||
JAVAFILES= Execution.java \
|
||||
BWBaseTest.java \
|
||||
TestLoader.java \
|
||||
ParamCombination.java \
|
||||
ReflectionTest.java \
|
||||
BWTestThread.java \
|
||||
BWJavaTemplate.java
|
||||
|
||||
DOMFILE= DOMFactory.java \
|
||||
DOMAccessorImpl.java
|
||||
|
||||
all:
|
||||
@echo "******************************************************"
|
||||
@echo "Make changes to $(SRCDIR)\mozilla.bat"
|
||||
@echo "and execute it else it may not compile..."
|
||||
@echo "******************************************************"
|
||||
@echo ""
|
||||
@echo Building test accessory classes ...
|
||||
@$(JAVAC) -d $(CLASSDIR) $(JAVAFILES)
|
||||
@$(JAVAC) -d $(CLASSDIR) $(DOMFILE)
|
||||
@echo done
|
||||
@cd api
|
||||
@nmake -f Makefile.win
|
||||
|
||||
clean:
|
||||
del /f/q $(CLASSDIR)\$(TESTPACKAGE)\*.class
|
||||
del /f/q $(CLASSDIR)\$(DOMPACKAGE)\*.class
|
||||
|
||||
|
||||
|
||||
|
|
@ -173,7 +173,6 @@ public class TestLoader
|
|||
}
|
||||
|
||||
}
|
||||
txtPrint("Parent Thread Done", "PASSED");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -478,6 +478,11 @@ constructLogHeader
|
|||
CLASSPATH="$curdir/../classes:${CLASSPATH}"
|
||||
|
||||
|
||||
if [ "$executionMode" = "M" ]
|
||||
then
|
||||
DELAY_FACTOR=`expr $DELAY_FACTOR \* 10`
|
||||
fi
|
||||
|
||||
currcnt=0
|
||||
while true
|
||||
do
|
||||
|
@ -565,6 +570,7 @@ do
|
|||
fi
|
||||
|
||||
cnt=`expr $cnt + 10`
|
||||
|
||||
if [ $cnt -eq $DELAY_FACTOR ]
|
||||
then
|
||||
flag=0
|
||||
|
@ -583,7 +589,7 @@ do
|
|||
fi
|
||||
|
||||
# if single threaded execution
|
||||
if [ "$executionMode" = "S" ]
|
||||
if [ "$executionMode" = "M" ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
|
@ -591,6 +597,7 @@ do
|
|||
|
||||
currcnt=`expr $currcnt + 1`
|
||||
|
||||
|
||||
if [ $currcnt -eq $runcnt ]
|
||||
then
|
||||
break
|
||||
|
|
Загрузка…
Ссылка в новой задаче