[darwinbuild-changes] [782] branches/PR-7748469/testing/darwinup/run-tests.sh
source_changes at macosforge.org
source_changes at macosforge.org
Sun Mar 14 22:40:34 PDT 2010
Revision: 782
http://trac.macosforge.org/projects/darwinbuild/changeset/782
Author: wsiegrist at apple.com
Date: 2010-03-14 22:40:32 -0700 (Sun, 14 Mar 2010)
Log Message:
-----------
Add 32 and 64 bit tests
Modified Paths:
--------------
branches/PR-7748469/testing/darwinup/run-tests.sh
Modified: branches/PR-7748469/testing/darwinup/run-tests.sh
===================================================================
--- branches/PR-7748469/testing/darwinup/run-tests.sh 2010-03-14 03:30:35 UTC (rev 781)
+++ branches/PR-7748469/testing/darwinup/run-tests.sh 2010-03-15 05:40:32 UTC (rev 782)
@@ -41,6 +41,26 @@
mkdir -p $ORIG
cp -R $DEST/* $ORIG/
+echo "========== TEST: Trying both 32 and 64 bit =========="
+for R in $ROOTS;
+do
+ echo "INFO: Installing $R ...";
+ arch -i386 $DARWINUP install $PREFIX/$R
+ UUID=$($DARWINUP list | head -3 | tail -1 | awk '{print $1}')
+ echo "INFO: Uninstalling $R ...";
+ arch -x86_64 $DARWINUP uninstall $UUID
+ echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+ $DIFF $ORIG $DEST 2>&1
+ echo "INFO: Installing $R ...";
+ arch -x86_64 $DARWINUP install $PREFIX/$R
+ UUID=$($DARWINUP list | head -3 | tail -1 | awk '{print $1}')
+ echo "INFO: Uninstalling $R ...";
+ arch -i386 $DARWINUP uninstall $UUID
+ echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+ $DIFF $ORIG $DEST 2>&1
+done
+
+
echo "========== TEST: Trying roots one at a time =========="
for R in $ROOTS;
do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100314/ae8f5de7/attachment.html>
More information about the darwinbuild-changes
mailing list