[107831] branches/gsoc13-tests/tests/test

marius at macports.org marius at macports.org
Sat Jul 6 10:28:32 PDT 2013


Revision: 107831
          https://trac.macports.org/changeset/107831
Author:   marius at macports.org
Date:     2013-07-06 10:28:32 -0700 (Sat, 06 Jul 2013)
Log Message:
-----------
Added description files for statefile tests.

Added Paths:
-----------
    branches/gsoc13-tests/tests/test/statefile-unknown-version/DESCRIPTION
    branches/gsoc13-tests/tests/test/statefile-version1/DESCRIPTION
    branches/gsoc13-tests/tests/test/statefile-version1-outdated/DESCRIPTION
    branches/gsoc13-tests/tests/test/statefile-version2/DESCRIPTION
    branches/gsoc13-tests/tests/test/statefile-version2-invalid/DESCRIPTION
    branches/gsoc13-tests/tests/test/statefile-version2-outdated/DESCRIPTION

Added: branches/gsoc13-tests/tests/test/statefile-unknown-version/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-unknown-version/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-unknown-version/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,5 @@
+This test checks that version 3 is not accepted. MacPorts keeps track 
+of the build process (and which steps have been completed) in a statefile.
+
+There are 2 test cases, one for the warnings and another that checks for the
+staging into destroot.

Added: branches/gsoc13-tests/tests/test/statefile-version1/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-version1/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-version1/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,5 @@
+This test checks that a non-outdated statefile version doesn't trigger a
+rebuild.
+
+There are 2 test cases, one that makes sure the statefile doesn't get
+discarded and another that looks for staging into destroot.

Added: branches/gsoc13-tests/tests/test/statefile-version1-outdated/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-version1-outdated/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-version1-outdated/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,4 @@
+This test checks that an outdated statefile will cause a fresh build.
+
+There are 2 test cases, one that ensures the statefile gets discarded and another
+that ensures staging into destroot.

Added: branches/gsoc13-tests/tests/test/statefile-version2/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-version2/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-version2/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,5 @@
+This test checks that a non-outdated statefile version doesn't trigger a
+rebuild.
+
+There are 2 test cases, one that makes sure the statefile doesn't get
+discarded and another that looks for staging into destroot.

Added: branches/gsoc13-tests/tests/test/statefile-version2-invalid/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-version2-invalid/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-version2-invalid/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,5 @@
+This test checks that statefile version 2 without checksum field will cause a
+warning message. MacPorts should never deal with a broken statefile.
+
+There are 2 test cases, one that ensures a warning message gets thrown and
+another that ensures staging into destroot.

Added: branches/gsoc13-tests/tests/test/statefile-version2-outdated/DESCRIPTION
===================================================================
--- branches/gsoc13-tests/tests/test/statefile-version2-outdated/DESCRIPTION	                        (rev 0)
+++ branches/gsoc13-tests/tests/test/statefile-version2-outdated/DESCRIPTION	2013-07-06 17:28:32 UTC (rev 107831)
@@ -0,0 +1,4 @@
+This test checks that an outdated statefile will cause a fresh build.
+
+There are 2 test cases, one that ensures the statefile gets discarded and another
+that ensures staging into destroot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130706/d1454cd2/attachment.html>


More information about the macports-changes mailing list