[146717] trunk/base/src/macports1.0/tests
raimue at macports.org
raimue at macports.org
Tue Mar 15 10:54:18 PDT 2016
Revision: 146717
https://trac.macports.org/changeset/146717
Author: raimue at macports.org
Date: 2016-03-15 10:54:18 -0700 (Tue, 15 Mar 2016)
Log Message:
-----------
Run tests in non-interactive mode
Tests need to be non-interactive. Ports requiring user input should be flagged
with the userInteraction constraint.
Modified Paths:
--------------
trunk/base/src/macports1.0/tests/macports.test
trunk/base/src/macports1.0/tests/reclaim.test
Modified: trunk/base/src/macports1.0/tests/macports.test
===================================================================
--- trunk/base/src/macports1.0/tests/macports.test 2016-03-15 17:49:37 UTC (rev 146716)
+++ trunk/base/src/macports1.0/tests/macports.test 2016-03-15 17:54:18 UTC (rev 146717)
@@ -23,8 +23,7 @@
# Debug options
array set ui_options {}
-#set ui_options(ports_debug) yes
-#set ui_options(ports_verbose) yes
+set ui_options(ports_noninteractive) yes
mportinit ui_options
Modified: trunk/base/src/macports1.0/tests/reclaim.test
===================================================================
--- trunk/base/src/macports1.0/tests/reclaim.test 2016-03-15 17:49:37 UTC (rev 146716)
+++ trunk/base/src/macports1.0/tests/reclaim.test 2016-03-15 17:54:18 UTC (rev 146717)
@@ -17,12 +17,15 @@
init_tmp_prefix $pwd $pwd/tmpdir
array set ui_options {}
+set ui_options(ports_noninteractive) yes
mportinit ui_options
+# reclaim nees to be fixed to honor the noninteractive flag
test remove_distfiles {
Test for distfiles being successfully removed.
} -constraints {
root
+ userInteraction
} -body {
set path [file join ${macports::portdbpath} distfiles]
set file [file join $path "test.txt"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160315/e15f141a/attachment.html>
More information about the macports-changes
mailing list