appveyor: don't run host_info() twice for compile tests

This commit is contained in:
Ralph Lange
2020-03-23 11:00:30 +01:00
parent d052350738
commit 08cdff9495

View File

@@ -246,8 +246,8 @@ class TestVCVars(unittest.TestCase):
do.with_vcvars('env')
if __name__ == "__main__":
do.host_info()
if 'SET' in os.environ and os.environ['SET'] == "test00":
do.host_info()
if sys.argv[1:]==['env']:
# testing with_vcvars
[print(K,'=',V) for K, V in os.environ.items()]