reactivate some tests
This commit is contained in:
parent
e2fee84581
commit
9e63f3e042
@ -47,12 +47,12 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
# pep8 tests
|
# pep8 tests
|
||||||
# - pep8 --ignore E501 update.py
|
- pep8 --ignore E501 update.py
|
||||||
- pep8 --ignore E501,E265 autocmake
|
- pep8 --ignore E501,E265 autocmake
|
||||||
# # unit tests
|
# # unit tests
|
||||||
# - py.test -vv update.py
|
- py.test -vv update.py
|
||||||
|
- py.test -vv autocmake/*
|
||||||
# - py.test -vv test/test.py
|
# - py.test -vv test/test.py
|
||||||
# - py.test -vv lib/config.py
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
50
update.py
50
update.py
@ -382,25 +382,25 @@ def fetch_modules(config, relative_path):
|
|||||||
sys.stderr.write("ERROR: {0} does not exist\n".format(src))
|
sys.stderr.write("ERROR: {0} does not exist\n".format(src))
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
# if config.has_option(section, 'override'):
|
# if config.has_option(section, 'override'):
|
||||||
# defaults = ast.literal_eval(config.get(section, 'override'))
|
# defaults = ast.literal_eval(config.get(section, 'override'))
|
||||||
# else:
|
# else:
|
||||||
# defaults = {}
|
# defaults = {}
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
# we infer config from the module documentation
|
# # we infer config from the module documentation
|
||||||
# with open(file_name, 'r') as f:
|
# with open(file_name, 'r') as f:
|
||||||
# parsed_config = parse_cmake_module(f.read(), defaults)
|
# parsed_config = parse_cmake_module(f.read(), defaults)
|
||||||
# if parsed_config['warning']:
|
# if parsed_config['warning']:
|
||||||
# warnings.append('WARNING from {0}: {1}'.format(module_name, parsed_config['warning']))
|
# warnings.append('WARNING from {0}: {1}'.format(module_name, parsed_config['warning']))
|
||||||
# config = prepend_or_set(config, section, 'docopt', parsed_config['docopt'], defaults)
|
# config = prepend_or_set(config, section, 'docopt', parsed_config['docopt'], defaults)
|
||||||
# config = prepend_or_set(config, section, 'define', parsed_config['define'], defaults)
|
# config = prepend_or_set(config, section, 'define', parsed_config['define'], defaults)
|
||||||
# config = prepend_or_set(config, section, 'export', parsed_config['export'], defaults)
|
# config = prepend_or_set(config, section, 'export', parsed_config['export'], defaults)
|
||||||
# if parsed_config['fetch']:
|
# if parsed_config['fetch']:
|
||||||
# for src in parsed_config['fetch'].split('\n'):
|
# for src in parsed_config['fetch'].split('\n'):
|
||||||
# dst = os.path.join(fetch_dst_directory, os.path.basename(src))
|
# dst = os.path.join(fetch_dst_directory, os.path.basename(src))
|
||||||
# fetch_url(src, dst)
|
# fetch_url(src, dst)
|
||||||
|
|
||||||
modules.append(Module(path=path, name=name))
|
modules.append(Module(path=path, name=name))
|
||||||
print_progress_bar(
|
print_progress_bar(
|
||||||
@ -409,13 +409,13 @@ def fetch_modules(config, relative_path):
|
|||||||
total=len(sources),
|
total=len(sources),
|
||||||
width=30
|
width=30
|
||||||
)
|
)
|
||||||
# FIXME
|
# FIXME
|
||||||
# if config.has_option(section, 'fetch'):
|
# if config.has_option(section, 'fetch'):
|
||||||
# # when we fetch directly from autocmake.yml
|
# # when we fetch directly from autocmake.yml
|
||||||
# # we download into downloaded/
|
# # we download into downloaded/
|
||||||
# for src in config.get(section, 'fetch').split('\n'):
|
# for src in config.get(section, 'fetch').split('\n'):
|
||||||
# dst = os.path.join(download_directory, os.path.basename(src))
|
# dst = os.path.join(download_directory, os.path.basename(src))
|
||||||
# fetch_url(src, dst)
|
# fetch_url(src, dst)
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
if warnings != []:
|
if warnings != []:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user