echo script output to the display

Mark Brethen mark.brethen at gmail.com
Sat Sep 20 07:16:16 PDT 2014


I have a 'test' variant that will run a script called 'testall.sh' during the test phase, like so:

    variant test description {CSL build tests} {
        test.run        yes
        test {
            system "cd ${worksrcpath} && ./scripts/testall.sh --csl"
        }
    }

However output is directed to the 'main.log' file. Unless the user issues verbose with the port command they will never see the results. Is it possible to echo it to the display?


Mark






More information about the macports-dev mailing list