Skip to content

Commit

Permalink
Merge branch 'mr/pmderodat/dsl_unparse' into 'master'
Browse files Browse the repository at this point in the history
dsl_unparse: assume lkt_parse is reachable through the PATH

See merge request eng/libadalang/libadalang!1584
pmderodat committed Mar 20, 2024
2 parents cf98389 + a14a00e commit e935969
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions testsuite/tests/dsl_unparse/test.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@
Test that dsl_unparse does not crash on libadalang.
"""
import os
from os import path as P
import subprocess
import sys

@@ -40,20 +39,4 @@
LAL_BUILD_MODE = os.environ['LIBADALANG_BUILD_MODE'] or "dev"

sys.stdout.flush()
subprocess.check_call(
[
P.join(
os.environ['LIBADALANG_ROOTDIR'],
'langkit',
'contrib',
'lkt',
'build',
'obj-mains',
LAL_BUILD_MODE,
'lkt_parse',
),
'-s',
'-f',
unparse_dest,
]
)
subprocess.check_call(['lkt_parse', '-s', '-f', unparse_dest])

0 comments on commit e935969

Please sign in to comment.