summaryrefslogtreecommitdiff
path: root/grc/tests/test_compiler.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-09-28 09:28:39 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-09-28 09:28:39 +0200
commitda8429ffcb28bd7a0edc634bc4e1c53fbbef6b56 (patch)
treef93ed20a1930f65206a37f092e5f72d79d450ee2 /grc/tests/test_compiler.py
parentfd0792769e058577155fd30f2824d82fdd584c10 (diff)
grc: changes to grcc CLI
Diffstat (limited to 'grc/tests/test_compiler.py')
-rw-r--r--grc/tests/test_compiler.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/grc/tests/test_compiler.py b/grc/tests/test_compiler.py
index 1ae3db8603..27b5670871 100644
--- a/grc/tests/test_compiler.py
+++ b/grc/tests/test_compiler.py
@@ -25,8 +25,12 @@ from grc.compiler import main
def test_compiler(capsys):
- file_path = path.join(path.dirname(__file__), 'resources', 'test_compiler.grc')
- args = Namespace(out_dir=tempfile.gettempdir(), grc_files=[file_path], execute=True)
+ args = Namespace(
+ output=tempfile.gettempdir(),
+ user_lib_dir=False,
+ grc_files=[path.join(path.dirname(__file__), 'resources', 'test_compiler.grc')],
+ run=True
+ )
main(args)