# HG changeset patch # User John Tsiombikas # Date 1309121873 -10800 # Node ID b5c852d7661eb2ef3093463de486ac8edcd53139 # Parent 5d38efd33da0e084c2ca5d8e00c2a1d87b0a107b foo diff -r 5d38efd33da0 -r b5c852d7661e tests/simple/Simple.app/Contents/Info.plist --- a/tests/simple/Simple.app/Contents/Info.plist Sun Jun 26 08:01:55 2011 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ - - - - - CFBundleDevelopmentRegionGlobal - CFBundleExecutablesimple - CFBundleDisplayNamesimplesgltest - CFBundleNameSGL Simple Example - CFBundleIdentifiercom.mindlapse.sglsimple - CFBundlePackageTypeAPPL - CFBundleSignaturecglt - CFBundleShortVersionString0.1 - CFBundleVersion0.1 - CFBundleInfoDictionaryVersion6.0 - - diff -r 5d38efd33da0 -r b5c852d7661e tests/tests-macinfo.plist --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/tests-macinfo.plist Sun Jun 26 23:57:53 2011 +0300 @@ -0,0 +1,16 @@ + + + + + CFBundleDevelopmentRegionGlobal + CFBundleExecutabletest + CFBundleDisplayNamesgltest + CFBundleNameSGL Simple Example + CFBundleIdentifiercom.mindlapse.test + CFBundlePackageTypeAPPL + CFBundleSignaturecglt + CFBundleShortVersionString0.1 + CFBundleVersion0.1 + CFBundleInfoDictionaryVersion6.0 + + diff -r 5d38efd33da0 -r b5c852d7661e tests/tests-makefile --- a/tests/tests-makefile Sun Jun 26 08:01:55 2011 +0300 +++ b/tests/tests-makefile Sun Jun 26 23:57:53 2011 +0300 @@ -34,6 +34,8 @@ .PHONY: install install: - mkdir -p Simple.app/Contents/MacOS - cp simple Simple.app/Contents/MacOS/simple - install_name_tool -change libsgl.dylib @executable_path/../Frameworks/libsgl.dylib Simple.app/Contents/MacOS/simple + mkdir -p Test.app/Contents/MacOS Test.app/Contents/Frameworks + cd Test.app/Contents; ln -s ../../../tests-macinfo.plist Info.plist + cp $(bin) Test.app/Contents/MacOS/test + cd Test.app/Contents/Frameworks; ln -s ../../../../../libsgl.dylib . + install_name_tool -change libsgl.dylib @executable_path/../Frameworks/libsgl.dylib Test.app/Contents/MacOS/test