Removed tests from compiled packages to workaround bug in stc.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 02 May 2015 07:00:39 +0200
changeset 447 cfbc9055c83b
parent 446 c2ad34a08856
child 448 02db0b67ed3f
Removed tests from compiled packages to workaround bug in stc. stc does not compile { computed arrays } properly in all cases, resulting in messages being send to wrong objects.
Make.proto
bmake.bat
stx_goodies_petitparser.st
--- a/Make.proto	Sat May 02 06:18:36 2015 +0200
+++ b/Make.proto	Sat May 02 07:00:39 2015 +0200
@@ -21,7 +21,7 @@
 INCLUDE_TOP=$(TOP)/..
 
 # subdirectories where targets are to be made:
-SUBDIRS= analyzer tests parser/smalltalk parser/java compiler compiler/tests
+SUBDIRS= analyzer parser/smalltalk parser/java compiler
 
 
 # subdirectories where Makefiles are to be made:
--- a/bmake.bat	Sat May 02 06:18:36 2015 +0200
+++ b/bmake.bat	Sat May 02 07:00:39 2015 +0200
@@ -17,13 +17,6 @@
 @popd
 
 @echo "***********************************"
-@echo "Buildung stx/goodies/petitparser/tests
-@echo "***********************************"
-@pushd tests
-@call bmake %1 %2 || exit /b "%errorlevel%"
-@popd
-
-@echo "***********************************"
 @echo "Buildung stx/goodies/petitparser/parser/smalltalk
 @echo "***********************************"
 @pushd parser\smalltalk
@@ -43,12 +36,3 @@
 @pushd compiler
 @call bmake %1 %2 || exit /b "%errorlevel%"
 @popd
-
-@echo "***********************************"
-@echo "Buildung stx/goodies/petitparser/compiler/tests
-@echo "***********************************"
-@pushd compiler\tests
-@call bmake %1 %2 || exit /b "%errorlevel%"
-@popd
-
-
--- a/stx_goodies_petitparser.st	Sat May 02 06:18:36 2015 +0200
+++ b/stx_goodies_petitparser.st	Sat May 02 07:00:39 2015 +0200
@@ -112,7 +112,10 @@
     ^ #(
         #'stx:goodies/petitparser/analyzer'
         #'stx:goodies/petitparser/tests'
-    )
+        #'stx:goodies/parsers/smalltalk'
+        #'stx:goodies/parsers/java'
+        #'stx:goodies/compiler'
+)
 ! !
 
 !stx_goodies_petitparser class methodsFor:'description - compilation'!