Ticket #45010: mp-test.diff
File mp-test.diff, 782 bytes (added by kurthindenburg (Kurt Hindenburg), 9 years ago) |
---|
-
macports1.0/macports.tcl
2009 2009 macports::push_log $mport 2010 2010 } 2011 2011 2012 if {$target eq "test"} { 2013 # Before continuing with dependents, verify test.run is present and yes 2014 set test_valid [catch {_mportkey $mport test.run} res] 2015 if {$test_valid != 0 || $res ne "yes"} { 2016 return -code error [format [msgcat::mc "%s has no tests turned on. see 'test.run' in portfile(7)"] $portname] 2017 } 2018 } 2019 2012 2020 # Use _target_needs_deps as a proxy for whether we're going to 2013 2021 # build and will therefore need to check Xcode version and 2014 2022 # supported_archs.