The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
264 B
14 lines
264 B
4 years ago
|
#!/usr/bin/env python3
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
import argparse
|
||
|
import importlib
|
||
|
|
||
|
parser = argparse.ArgumentParser()
|
||
|
parser.add_argument('mod')
|
||
|
args = parser.parse_args()
|
||
|
|
||
|
mod = importlib.import_module(args.mod)
|
||
|
|
||
|
assert mod.func() == 'Hello, World!'
|