aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-02 15:14:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-02 15:14:05 +0000
commit631c0796ca07bddf7f32b541f4813d9d989c2eb0 (patch)
tree614b59243bdfde44c8cdd0db0149ba2c97e0a7ac /packages
parentf57a59537188232fa1597044ea5dcbfd3fe219e6 (diff)
added test_package target which just mounts then ejects the disk image. Real tests should happen there...
svn path=/trunk/; revision=5456
Diffstat (limited to 'packages')
-rw-r--r--packages/darwin_app/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 7878565f..adbee402 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -277,6 +277,15 @@ darwin_app_clean:
#
#==============================================================================#
+test_package:
+ echo "Mounting $(DMG_NAME)"
+ cd $(CWD) && hdiutil mount "$(DMG_NAME)"
+# some better tests should go in here
+ echo "Ejecting $(DMG_NAME)"
+ cd $(CWD) && hdiutil eject "$(DMG_NAME)"
+
+
+
test_locations:
@echo "PD_VERSION: $(PD_VERSION)"
@echo "PACKAGE_NAME: $(PACKAGE_NAME)"