summaryrefslogtreecommitdiffstats
path: root/macosx/Tcl.xcodeproj/project.pbxproj
diff options
context:
space:
mode:
authordas <das>2006-12-17 03:47:06 (GMT)
committerdas <das>2006-12-17 03:47:06 (GMT)
commite948966663e0c332c86aad5aa167f86f853b9e55 (patch)
tree46ed3f955943f0b626f59adda7a6e0cc020ac4b4 /macosx/Tcl.xcodeproj/project.pbxproj
parentaa3f7eb23be4f2cb040b9fd9cf025fc1740a120b (diff)
downloadtcl-e948966663e0c332c86aad5aa167f86f853b9e55.zip
tcl-e948966663e0c332c86aad5aa167f86f853b9e55.tar.gz
tcl-e948966663e0c332c86aad5aa167f86f853b9e55.tar.bz2
* tests/macOSXLoad.test (new file): add testing of .bundle loading and
* tests/load.test: unloading on Darwin (in addition to * tests/unload.test: existing tests of .dylib loading). * macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries so that testsuite run from Xcode can use them; fix testsuite run script. * unix/configure.in: add support for building dltest binaries as * unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin. * unix/Makefile.in: add stub lib dependency to dltest target. * unix/configure: autoconf-2.59
Diffstat (limited to 'macosx/Tcl.xcodeproj/project.pbxproj')
-rw-r--r--macosx/Tcl.xcodeproj/project.pbxproj30
1 files changed, 29 insertions, 1 deletions
diff --git a/macosx/Tcl.xcodeproj/project.pbxproj b/macosx/Tcl.xcodeproj/project.pbxproj
index 44ce16d..14e3501 100644
--- a/macosx/Tcl.xcodeproj/project.pbxproj
+++ b/macosx/Tcl.xcodeproj/project.pbxproj
@@ -177,6 +177,7 @@
/* Begin PBXFileReference section */
8DD76FB20486AB0100D96B5E /* tcltest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tcltest; sourceTree = BUILT_PRODUCTS_DIR; };
F9408AF20B195C08009F7CAC /* tclMathOp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tclMathOp.c; sourceTree = "<group>"; };
+ F95FAFF90B34F1130072E431 /* macOSXLoad.test */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = macOSXLoad.test; sourceTree = "<group>"; };
F966C07408F2820D005CB29B /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
F96D3DFA08F272A4004A47F5 /* ChangeLog */ = {isa = PBXFileReference; explicitFileType = text; fileEncoding = 4; path = ChangeLog; sourceTree = "<group>"; };
F96D3DFB08F272A4004A47F5 /* changes */ = {isa = PBXFileReference; explicitFileType = text; fileEncoding = 4; path = changes; sourceTree = "<group>"; };
@@ -1608,6 +1609,7 @@
F96D438B08F272B6004A47F5 /* lset.test */,
F96D438C08F272B6004A47F5 /* lsetComp.test */,
F96D438D08F272B6004A47F5 /* macOSXFCmd.test */,
+ F95FAFF90B34F1130072E431 /* macOSXLoad.test */,
F96D438E08F272B6004A47F5 /* main.test */,
F9ECB1CB0B26534C00A28025 /* mathop.test */,
F96D438F08F272B6004A47F5 /* misc.test */,
@@ -1857,6 +1859,7 @@
F9A5C5F508F651A2008AE941 /* ShellScript */,
8DD76FAB0486AB0100D96B5E /* Sources */,
8DD76FAD0486AB0100D96B5E /* Frameworks */,
+ F95FA74C0B32CE190072E431 /* ShellScript */,
);
buildRules = (
);
@@ -1902,6 +1905,29 @@
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
+ F95FA74C0B32CE190072E431 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${DERIVED_FILE_DIR}/tcl/tclConfig.sh",
+ "${TCL_SRCROOT}/generic/tclStubLib.c",
+ "${TCL_SRCROOT}/unix/dltest/pkga.c",
+ "${TCL_SRCROOT}/unix/dltest/pkgb.c",
+ "${TCL_SRCROOT}/unix/dltest/pkgc.c",
+ "${TCL_SRCROOT}/unix/dltest/pkgd.c",
+ "${TCL_SRCROOT}/unix/dltest/pkge.c",
+ "${TCL_SRCROOT}/unix/dltest/pkgf.c",
+ "${TCL_SRCROOT}/unix/dltest/pkgua.c",
+ );
+ outputPaths = (
+ "${DERIVED_FILE_DIR}/tcl/dltest.marker",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/bash;
+ shellScript = "## dltest build script phase\n\nrm -f \"${DERIVED_FILE_DIR}/tcl/dltest.marker\"\nmake -C \"${DERIVED_FILE_DIR}/tcl\" dltest.marker\nln -fsh \"${DERIVED_FILE_DIR}/tcl/dltest\" \"${CONFIGURATION_BUILD_DIR}\"\n";
+ };
F97258A40A86873C00096C78 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -1913,7 +1939,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
- shellScript = "if [ \"${ACTION:-build}\" == \"build\" ]; then\ncd \"${TARGET_TEMP_DIR}\"; rm -rf \"${DERIVED_FILE_DIR}\"; mkdir -p \"${DERIVED_FILE_DIR}\"\nprintf '%s%s%s%s%s' '\npackage require tcltest 2.2\nnamespace import tcltest::*\nconfigure -testdir [file normalize {' \"${TCL_SRCROOT}\" '/tests}]\nconfigure -tmpdir [file normalize {' \"${DERIVED_FILE_DIR}\" '}]\nconfigure -verbose [concat [configure -verbose] line]\n# following test only fails when testsuite is run from inside Xcode, so skip it\nconfigure -skip [concat [configure -verbose] stack-3.1]\nrunAllTests\n' | \"${TEST_RIG}\"; TEST_RIG_RESULT=$?\n[ ${TEST_RIG_RESULT} -ne 0 ] && echo \"tcltest:0: error: tcltest exited abnormally with code ${TEST_RIG_RESULT}.\"\nexit ${TEST_RIG_RESULT}\nfi";
+ shellScript = "if [ \"${ACTION:-build}\" == \"build\" ]; then\ncd \"${TARGET_TEMP_DIR}\"; rm -rf \"${DERIVED_FILE_DIR}\"; mkdir -p \"${DERIVED_FILE_DIR}\"\nprintf '%s%s%s%s%s' '\npackage require tcltest 2.2\nnamespace import tcltest::*\nconfigure -testdir [file normalize {' \"${TCL_SRCROOT}\" '/tests}]\nconfigure -tmpdir [file normalize {' \"${DERIVED_FILE_DIR}\" '}]\nconfigure -verbose [concat [configure -verbose] line]\n# following test only fails when testsuite is run from inside Xcode, so skip it\nconfigure -skip [concat [configure -skip] stack-3.1]\nrunAllTests\n' | \"${TEST_RIG}\"; TEST_RIG_RESULT=$?\n[ ${TEST_RIG_RESULT} -ne 0 ] && echo \"tcltest:0: error: tcltest exited abnormally with code ${TEST_RIG_RESULT}.\"\nexit ${TEST_RIG_RESULT}\nfi";
};
F9A5C5F508F651A2008AE941 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -1926,6 +1952,8 @@
"${TCL_SRCROOT}/unix/tcl.m4",
"${TCL_SRCROOT}/unix/aclocal.m4",
"${TCL_SRCROOT}/unix/tclConfig.sh.in",
+ "${TCL_SRCROOT}/unix/Makefile.in",
+ "${TCL_SRCROOT}/unix/dltest/Makefile.in",
);
outputPaths = (
"${DERIVED_FILE_DIR}/tcl/tclConfig.sh",