Skip to content
Snippets Groups Projects
Commit 1c4eecb8 authored by Douglas Araujo's avatar Douglas Araujo
Browse files

Merge branch 'fix-runtime-definition' into 'master'

Fix real-time env variable definition

See merge request !174
parents 86a48bca 2d5ecbdf
No related branches found
No related tags found
1 merge request!174Fix real-time env variable definition
Pipeline #203634 passed
...@@ -98,7 +98,7 @@ def iocsh( ...@@ -98,7 +98,7 @@ def iocsh(
non_optional = ["--suppressions=" + supp_file] non_optional = ["--suppressions=" + supp_file]
cmd = ["valgrind"] + non_optional + valgrind.split(" ") + cmd cmd = ["valgrind"] + non_optional + valgrind.split(" ") + cmd
elif realtime: elif realtime:
os.environ["LD_BIND_NOW"] = 1 os.environ["LD_BIND_NOW"] = str(1)
cmd = "chrt --fifo 1".split(" ") + cmd cmd = "chrt --fifo 1".split(" ") + cmd
logging.debug(f"Running command `{' '.join(cmd)}`") logging.debug(f"Running command `{' '.join(cmd)}`")
...@@ -167,7 +167,7 @@ def generate_parser() -> argparse.ArgumentParser: ...@@ -167,7 +167,7 @@ def generate_parser() -> argparse.ArgumentParser:
nargs="?", nargs="?",
const="", const="",
metavar="ARGUMENT", metavar="ARGUMENT",
help="run with gdb, optionally with arguments. For no arguments use \"-dg --\"", help='run with gdb, optionally with arguments. For no arguments use "-dg --"',
) )
mutex_group_modifiers.add_argument( mutex_group_modifiers.add_argument(
"-dv", "-dv",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment