Skip to content

Commit

Permalink
libdeng2: Imported the Kitchen Sink scripting test from Hawthorn
Browse files Browse the repository at this point in the history
Added a source subdirectory for small test apps. The "script" test
will run through the kitchen_sink.de script that aims to test (and
demonstrate) all of the language's features.
  • Loading branch information
skyjake committed Jul 19, 2012
1 parent 553ea3b commit 7b7b9e0
Show file tree
Hide file tree
Showing 7 changed files with 775 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/doomsday.pro
Expand Up @@ -7,4 +7,5 @@ SUBDIRS = \
build \
libdeng2 libdeng \
engine plugins host \
tests \
postbuild
15 changes: 15 additions & 0 deletions doomsday/tests/config_test.pri
@@ -0,0 +1,15 @@
include(../config.pri)
include(../dep_deng2.pri)

macx {
defineTest(macDeployTest) {
# Arg 1: target name (without .app)
fwDir = \"$${OUT_PWD}/$${1}.app/Contents/Frameworks/\"
doPostLink("rm -rf $$fwDir")
doPostLink("mkdir $$fwDir")
doPostLink("cp -fRp $$OUT_PWD/../../libdeng2/libdeng2*dylib $$fwDir")

# Fix the dynamic linker paths so they point to ../Frameworks/ inside the bundle.
fixInstallName($${1}.app/Contents/MacOS/$${1}, libdeng2.2.dylib, ..)
}
}

0 comments on commit 7b7b9e0

Please sign in to comment.