tests/Make.spec
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 17 Jun 2015 16:49:28 +0100
changeset 492 fc3dbe5654c5
parent 427 a7f5e6de19d2
permissions -rw-r--r--
Use #deepCopy instead of #copy when copying RB parse tree ...because #copy make a copy if child nodes but does not set their parents properly. Therefore node replacing does not work because it replaces it in wrong tree (original, not the copy).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
376
a2656b27cace Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 319
diff changeset
     1
# $Header$
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
# DO NOT EDIT
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_petitparser_tests.
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
# This file contains specifications which are common to all platforms.
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
# Do NOT CHANGE THESE DEFINITIONS
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
# (otherwise, ST/X will have a hard time to find out the packages location from its packageID,
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
#  to find the source code of a class and to find the library for a package)
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
MODULE=stx
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
MODULE_DIR=goodies/petitparser/tests
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
PACKAGE=$(MODULE):$(MODULE_DIR)
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
# Argument(s) to the stc compiler (stc --usage).
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
#  -headerDir=. : create header files locally
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
#                (if removed, they will be created as common
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
#  -Pxxx       : defines the package
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
#  -Zxxx       : a prefix for variables within the classLib
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
#  -Dxxx       : defines passed to to CC for inline C-code
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
#  -Ixxx       : include path passed to CC for inline C-code
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
#  +optspace   : optimized for space
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
#  +optspace2  : optimized more for space
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
#  +optspace3  : optimized even more for space
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
#  +optinline  : generate inline code for some ST constructs
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
#  +inlineNew  : additionally inline new
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
#  +inlineMath : additionally inline some floatPnt math stuff
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
# ********** OPTIONAL: MODIFY the next line(s) ***
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
# STCLOCALOPTIMIZATIONS=+optspace3
426
2a65c972b937 Tell stc to NOT to inline #not as it has different meaning in PetitParser...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 421
diff changeset
    37
STCLOCALOPTIMIZATIONS=+optspace3 -inlinenot
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
# Argument(s) to the stc compiler (stc --usage).
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
#  -warn            : no warnings
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
#  -warnNonStandard : no warnings about ST/X extensions
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
#  -warnEOLComments : no warnings about EOL comment extension
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
#  -warnPrivacy     : no warnings about privateClass extension
421
7e08b31e0dae Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 404
diff changeset
    45
#  -warnUnused      : no warnings about unused variables
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
#
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
# ********** OPTIONAL: MODIFY the next line(s) ***
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
# STCWARNINGS=-warn
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
# STCWARNINGS=-warnNonStandard
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
# STCWARNINGS=-warnEOLComments
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
STCWARNINGS=-warnNonStandard
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
COMMON_CLASSES= \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    54
	PPAbstractParserTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    55
	PPArithmeticParser \
377
6112a403a52d Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 376
diff changeset
    56
	PPContextMementoTest \
6112a403a52d Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 376
diff changeset
    57
	PPContextTest \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    58
	PPLambdaParser \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    59
	PPParserResource \
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
	stx_goodies_petitparser_tests \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    61
	PPComposedTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    62
	PPCompositeParserTest \
427
a7f5e6de19d2 Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 426
diff changeset
    63
	PPConditionalParserTest \
a7f5e6de19d2 Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 426
diff changeset
    64
	PPConditionalParserTests \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    65
	PPExtensionTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    66
	PPMappingTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    67
	PPObjectTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    68
	PPParserTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    69
	PPPredicateTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    70
	PPScriptingTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    71
	PPTokenTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    72
	PPArithmeticParserTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    73
	PPLambdaParserTest \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    74
	PPExpressionParserTest \
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
COMMON_OBJS= \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    80
    $(OUTDIR_SLASH)PPAbstractParserTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    81
    $(OUTDIR_SLASH)PPArithmeticParser.$(O) \
377
6112a403a52d Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 376
diff changeset
    82
    $(OUTDIR_SLASH)PPContextMementoTest.$(O) \
6112a403a52d Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 376
diff changeset
    83
    $(OUTDIR_SLASH)PPContextTest.$(O) \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    84
    $(OUTDIR_SLASH)PPLambdaParser.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    85
    $(OUTDIR_SLASH)PPParserResource.$(O) \
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    $(OUTDIR_SLASH)stx_goodies_petitparser_tests.$(O) \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    87
    $(OUTDIR_SLASH)PPComposedTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    88
    $(OUTDIR_SLASH)PPCompositeParserTest.$(O) \
427
a7f5e6de19d2 Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 426
diff changeset
    89
    $(OUTDIR_SLASH)PPConditionalParserTest.$(O) \
a7f5e6de19d2 Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 426
diff changeset
    90
    $(OUTDIR_SLASH)PPConditionalParserTests.$(O) \
403
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    91
    $(OUTDIR_SLASH)PPExtensionTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    92
    $(OUTDIR_SLASH)PPMappingTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    93
    $(OUTDIR_SLASH)PPObjectTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    94
    $(OUTDIR_SLASH)PPParserTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    95
    $(OUTDIR_SLASH)PPPredicateTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    96
    $(OUTDIR_SLASH)PPScriptingTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    97
    $(OUTDIR_SLASH)PPTokenTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    98
    $(OUTDIR_SLASH)PPArithmeticParserTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
    99
    $(OUTDIR_SLASH)PPLambdaParserTest.$(O) \
7063d523b064 Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 377
diff changeset
   100
    $(OUTDIR_SLASH)PPExpressionParserTest.$(O) \
245
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
0cb2e7db2e2d initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103