From ff14d5ceb4abdda09d914d75ec1faa97e5b1d150 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 23 Mar 2020 17:54:38 +0100 Subject: [PATCH] appveyor: adding make calls for 'build' and 'test' actions --- appveyor/do.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/appveyor/do.py b/appveyor/do.py index b98cd16..e4d283e 100644 --- a/appveyor/do.py +++ b/appveyor/do.py @@ -48,6 +48,8 @@ def modlist(): return ret zip7 = 'C:\\Program Files\\7-Zip\\7z' +make = '' +makeargs = [] def host_info(): print(sys.version) @@ -393,13 +395,15 @@ def prepare(*args): for mod in modlist(): place = places[setup[mod+"_VARNAME"]] print('Building '+place) - sp.check_call([make] + makeargs, shell=True, cwd=place) + sp.check_call([make] + makeargs, cwd=place) def build(*args): print('{0}Building the module{1}'.format(ANSI_YELLOW, ANSI_RESET)) + sp.check_call([make] + makeargs) def test(*args): - print('Running the tests') + print('{0}Running the tests{1}'.format(ANSI_YELLOW, ANSI_RESET)) + sp.check_call([make] + makeargs + ['tapfiles']) def doExec(*args): 'exec user command with vcvars'