mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
Merge branch 'wip/smcv/installed-tests' into 'main'
Fix installed-tests failures See merge request GNOME/glib!2833
This commit is contained in:
commit
101be84d2f
@ -64,7 +64,9 @@ class TestAssertMessage(unittest.TestCase):
|
||||
os.environ["G_TEST_BUILDDIR"], "assert-msg-test"
|
||||
)
|
||||
else:
|
||||
self.__assert_msg_test = shutil.which("assert-msg-test")
|
||||
self.__assert_msg_test = os.path.join(
|
||||
os.path.dirname(__file__), "assert-msg-test"
|
||||
)
|
||||
print("assert-msg-test:", self.__assert_msg_test)
|
||||
|
||||
def runAssertMessage(self, *args):
|
||||
|
@ -20,10 +20,10 @@ foreach test_name, extra_args : gobject_tests
|
||||
if install
|
||||
test_conf = configuration_data()
|
||||
test_conf.set('installed_tests_dir', installed_tests_execdir)
|
||||
test_conf.set('program', test_name)
|
||||
test_conf.set('program', '@0@ --seconds 1'.format(test_name))
|
||||
test_conf.set('env', '')
|
||||
configure_file(
|
||||
input: installed_tests_template_tap,
|
||||
input: installed_tests_template,
|
||||
output: test_name + '.test',
|
||||
install_dir: installed_tests_metadir,
|
||||
configuration: test_conf,
|
||||
|
Loading…
x
Reference in New Issue
Block a user