Changeset 146688 for trunk/base


Ignore:
Timestamp:
Mar 15, 2016, 2:59:42 PM (4 years ago)
Author:
raimue@…
Message:

macports1.0/tests:
Suppress noise on terminal output for channel test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/tests/macports.test

    r145038 r146688  
    352352test ui_warn_once {
    353353    UI warn once unit test.
     354} -setup {
     355    # suppress test warning to avoid noise on terminal output
     356    set channel_saved $macports::channels(warn)
     357    set macports::channels(warn) {}
    354358} -body {
    355359    set res [ui_warn_once 0 test]
     360
    356361    if {$macports::warning_done(0) != 1} {
    357362        return "FAIL: warning flag not set"
    358363    }
    359364    return "UI warn once successful."
     365} -cleanup {
     366    set macports::channels(warn) $channel_saved
    360367} -result "UI warn once successful."
    361368
Note: See TracChangeset for help on using the changeset viewer.