Skip to contentSkip to conversation

README: Document passing environment variables

PATCH In review Petr Vorel 2 participants 6 messages Jun 7, 2024 – Jun 10, 2024

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 README: Document passing environment variables

---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)
README.md +4 -0
index 72e5c56..cb69049 100644
@@ -104,6 +104,10 @@ Some basic commands are the following:
         --sut ssh:host=myhost.com:user=root:key_file=myhost_id_rsa \
         --run-suite syscalls --workers 16
 
+    # pass environment variables (list of key=value separated by ':')
+    ./kirk --framework ltp --run-suite net.features \
+        --env 'VIRT_PERF_THRESHOLD=180:LTP_NET_FEATURES_IGNORE_PERFORMANCE_FAILURE=1'
+
 It's possible to run a single command before running testing suites using
 `--run-command` option as following:
 
Signature · 5 lines
2.45.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by Andrea Cervesato on v1 1/1
#1 lore raw

Hi!

LGTM

Quoted 10 lines · Petr Vorel
---
  README.md | 4 ++++
  1 file changed, 4 insertions(+)
README.md +0 -0
index 72e5c56..cb69049 100644

README.md Some basic commands are the following: · line 113

Quoted 10 lines
README.md +4 -0
@@ -104,6 +104,10 @@ Some basic commands are the following:
          --sut ssh:host=myhost.com:user=root:key_file=myhost_id_rsa \
          --run-suite syscalls --workers 16
 
+    # pass environment variables (list of key=value separated by ':')
+    ./kirk --framework ltp --run-suite net.features \
+        --env 'VIRT_PERF_THRESHOLD=180:LTP_NET_FEATURES_IGNORE_PERFORMANCE_FAILURE=1'
+
  It's possible to run a single command before running testing suites using
  `--run-command` option as following:
 

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw

Hi Andrea,

Quoted 5 lines

Hi!

LGTM

Thanks, merged as
https://github.com/linux-test-project/kirk/commit/5e8c8064a0b2cee465f2a1dca1cfebef5ade36a2

BTW I wonder if recent kirk commits (SSH fixes) are strong enough to release kirk and update LTP. WDYT? Or do you wait for ltx improvements before releasing new version?

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#3 lore raw
Quoted 8 lines · Petr Vorel

Hi Andrea,

Quoted 3 lines

Hi!
LGTM

Thanks, merged as
https://github.com/linux-test-project/kirk/commit/5e8c8064a0b2cee465f2a1dca1cfebef5ade36a2

Quoted 6 lines

BTW I wonder if recent kirk commits (SSH fixes) are strong enough to release kirk and update LTP. WDYT? Or do you wait for ltx improvements before releasing new version?

Kind regards,
Petr

There were really minor updates in kirk. We can probably create a new version after more features will be added, but I have no idea when.

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#4 lore raw
Quoted 13 lines · Petr Vorel
Quoted 11 lines

Hi Andrea,

Quoted 3 lines

Hi!
LGTM

Thanks, merged as
https://github.com/linux-test-project/kirk/commit/5e8c8064a0b2cee465f2a1dca1cfebef5ade36a2

BTW I wonder if recent kirk commits (SSH fixes) are strong enough to release kirk and update LTP. WDYT? Or do you wait for ltx improvements before releasing new version?

Quoted 5 lines
Quoted 2 lines

Kind regards,
Petr

There were really minor updates in kirk. We can probably create a new version after more features will be added, but I have no idea when.

OK, thanks for info. From the description they looks as a real bug fixes which would users appreciated.

Kind regards,
Petr

Quoted 1 line

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#5 lore raw
Quoted 12 lines · Petr Vorel
Quoted 12 lines · Petr Vorel
Quoted 11 lines

Hi Andrea,

Quoted 3 lines

Hi!
LGTM

Thanks, merged as
https://github.com/linux-test-project/kirk/commit/5e8c8064a0b2cee465f2a1dca1cfebef5ade36a2
BTW I wonder if recent kirk commits (SSH fixes) are strong enough to release kirk and update LTP. WDYT? Or do you wait for ltx improvements before releasing new version?
Kind regards,
Petr

Quoted 9 lines
Quoted 2 lines

There were really minor updates in kirk. We can probably create a new version after more features will be added, but I have no idea when.

OK, thanks for info. From the description they looks as a real bug fixes which would users appreciated.

Kind regards,
Petr

Quoted 1 line

Andrea

Yeah, now that I'm taking a closer look I think you are right. Let's make a new kirk version then.

Thank,
Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp