Commit 6480dcae by Enrico Pozzobon

some renaming

parent 2d4e4148
...@@ -104,10 +104,11 @@ def main(argv): ...@@ -104,10 +104,11 @@ def main(argv):
argparser.add_argument('-v', '--verbose', action='count') argparser.add_argument('-v', '--verbose', action='count')
argparser.add_argument('-i', '--include', action='append') argparser.add_argument('-i', '--include', action='append')
argparser.add_argument('-t', '--template', default='templates/linux') argparser.add_argument('-t', '--template', required=True)
argparser.add_argument('-b', '--build-dir', default='build') argparser.add_argument('-b', '--build-dir', default='build')
argparser.add_argument('-s', '--submissions-dir', argparser.add_argument('-s', '--submissions-dir',
default='all-lwc-submission-files') default='all-lwc-submission-files',
required=True)
args = argparser.parse_args(argv[1:]) args = argparser.parse_args(argv[1:])
template_dir = args.template template_dir = args.template
......
...@@ -75,7 +75,7 @@ STYLECHECKFLAGS := --no-tree -f --terse --mailback ...@@ -75,7 +75,7 @@ STYLECHECKFLAGS := --no-tree -f --terse --mailback
STYLECHECKFILES := $(shell find . -name '*.[ch]') STYLECHECKFILES := $(shell find . -name '*.[ch]')
OPT := -O2 OPT := -O2
#DEBUG := -ggdb3 #DEBUG := -ggdb3
CSTD ?= -std=c99 CSTD ?= -std=gnu99
############################################################################### ###############################################################################
......
...@@ -74,7 +74,7 @@ class Runner(threading.Thread): ...@@ -74,7 +74,7 @@ class Runner(threading.Thread):
def __init__(self, template, platform, program=None): def __init__(self, template, platform, program=None):
if program is None: if program is None:
program = ['python3', './templates/%s/test' % template] program = ['python3', './templates/%s/test.py' % template]
self.id = str(Runner._next_id) self.id = str(Runner._next_id)
Runner._next_id += 1 Runner._next_id += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment