Fix deprecation warning from cdist.
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Oct 2020 23:18:11 +0000 (01:18 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000 (18:51 +0200)
cscript

diff --git a/cscript b/cscript
index 2e52267cd9cfbeec847455a0e2c55be7f696499b..dc8e34e4169f2b7553bdddadb56129145a698fdd 100644 (file)
--- a/cscript
+++ b/cscript
@@ -739,7 +739,7 @@ def make_manual(target):
     target.command('pdflatex colour.tex')
     return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
 
-def test(target, test):
+def test(target, options, test):
     if target.platform != 'windows':
         target.set('LC_ALL', 'C')
         cmd = 'run/tests '