Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit d9cb079

Browse files
committed
[tests] Fixes #334. PublishingTest1 and PublishingTest2 now tested with the MakeFile build mode
1 parent 830ce74 commit d9cb079

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
15-May-2017 Fixes #334. Following tests are now tested in Linux with additional build modes: ObjectiveCTest1 (Native,MakeFile); ProceduralHeaderTest1 (MakeFile); DeltaSettingsTest1 (MakeFile); EmbedStaticIntoDynamicLibrary (MakeFile).
1+
15-May-2017 Fixes #334. Following tests are now tested in Linux with additional build modes: ObjectiveCTest1 (Native,MakeFile); ProceduralHeaderTest1 (MakeFile); DeltaSettingsTest1 (MakeFile); EmbedStaticIntoDynamicLibrary (MakeFile); PublishingTest1 (MakeFile) and PublishingTest2 (MakeFile).
22

33
14-May-2017 Fixes #331. Added C.PatchUtilities static utility class, with the helper functions GetCompiler and GetBitDepth. These are useful in static patch functions, that only have the Module property on the settings input to determine compiler versions and the architecture built for. When patch lambdas are inlined into the Init() function of a module, access to module's properties are immediately available, but in static patch functions, these utilities are recommended. Test8 has been updated to illustrate using the PatchUtilities functions.
44

tests/PublishingTest2/bam/PublishingTest2.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<Description>Publishing test, collating files that are prebuilt</Description>
44
<Dependents>
55
<Package name="C" />
6+
<Package name="MakeFileBuilder" />
67
<Package name="NativeBuilder" />
78
<Package name="Publisher" />
89
</Dependents>

tests/bamtests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ def configure_repository():
8383
linux={"Native": [gcc64, gcc32], "MakeFile": [gcc64, gcc32]},
8484
osx={"Native": [clang64, clang32], "MakeFile": [clang64, clang32], "Xcode": [clang64, clang32]})
8585
configs["PublishingTest1"] = TestSetup(win={"Native": [visualc64, visualc32, mingw32], "VSSolution": [visualc64, visualc32]},
86-
linux={"Native": [gcc64, gcc32]},
87-
osx={"Native": [clang64, clang32], "Xcode": [clang64, clang32]})
86+
linux={"Native": [gcc64, gcc32], "MakeFile": [gcc64, gcc32]},
87+
osx={"Native": [clang64, clang32], "MakeFile": [clang64, clang32], "Xcode": [clang64, clang32]})
8888
configs["PublishingTest2"] = TestSetup(win={"Native": [visualc64, visualc32, mingw32]},
89-
linux={"Native": [gcc64, gcc32]},
90-
osx={"Native": [clang64, clang32]})
89+
linux={"Native": [gcc64, gcc32], "MakeFile": [gcc64, gcc32]},
90+
osx={"Native": [clang64, clang32], "MakeFile": [clang64, clang32]})
9191
configs["ProceduralHeaderTest1"] = TestSetup(win={"Native": [visualc64, visualc32, mingw32], "VSSolution": [visualc64, visualc32]},
9292
linux={"Native": [gcc64, gcc32], "MakeFile": [gcc64, gcc32]},
9393
osx={"Native": [clang64, clang32], "MakeFile": [clang64, clang32]})

0 commit comments

Comments
 (0)