mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 14:50:30 +01:00
clients/tests: set NM_TEST_CALLING_NUM environement variable for client tests
Debugging tests that are called by test-client.py is cumbersome. One way would be to set NM_TEST_CLIENT_NMCLI_PATH to a wrapper script. However, then we want to know from the wrapper script which test we are currently calling. Add that to the environment.
This commit is contained in:
parent
6a9ed0adfb
commit
cdb95062e7
1 changed files with 1 additions and 0 deletions
|
|
@ -670,6 +670,7 @@ class TestNmcli(NmTestBase):
|
|||
env['TERM'] = 'linux'
|
||||
env['ASAN_OPTIONS'] = 'detect_leaks=0'
|
||||
env['XDG_CONFIG_HOME'] = PathConfiguration.srcdir()
|
||||
env['NM_TEST_CALLING_NUM'] = str(calling_num)
|
||||
if fatal_warnings is _DEFAULT_ARG or fatal_warnings:
|
||||
env['G_DEBUG'] = 'fatal-warnings'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue