Skip to contentSkip to conversation

runtest/ipc: Add some IPC syscalls test-cases

PATCH [email protected] 1 participant 3 messages Jun 27, 2013 4 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 8 lines
Quoted 4 lines
---
  runtest/ipc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 60 insertions(+)

NAK. Duplication is generally a bad idea.
This have the side effect of running the same tests twice for people that run ipc and syscalls test scenarios.

Hmm, this is a valid point.

Thinking of the ideal way, it may be more data driven framework with a list of all tests anotated with some group labels. I noted this for the planned testdriver rewrite.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#6 lore raw
In reply to a message not in the archive

Hi!

Quoted 17 lines
Quoted 12 lines
Quoted 10 lines

Add IPC syscalls test-cases from "runtest/syscalls" file also to "runtest/ipc" for people interested in running IPC tests only.

Run via './runltp -f ipc'.

---
  runtest/ipc | 60
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 60 insertions(+)
Quoted 4 lines

NAK. Duplication is generally a bad idea.
This have the side effect of running the same tests twice for people that run ipc and syscalls test scenarios.

Quoted 7 lines

The background of this was an issue in Linux-Next.
The ipc test-cases were fine, but syscalls test-cases revealed that sth. was wrong in that Linux-Next release.
For me it was not clear to also test the syscalls.

So, what is with the idea of a "runtest/syscalls-ipc" file (my original "v1" patch, this here is "v2")?

I think that we can go with the v1 for now and figure out something better for the new test execution framework. Are you OK with that?

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#4 lore raw
In reply to a message not in the archive

Hi!

Quoted 21 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
---
   runtest/ipc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   1 file changed, 60 insertions(+)
Quoted 9 lines
Quoted 3 lines

NAK. Duplication is generally a bad idea.
This have the side effect of running the same tests twice for people that run ipc and syscalls test scenarios.

Hmm, this is a valid point.

Thinking of the ideal way, it may be more data driven framework with a list of all tests anotated with some group labels. I noted this for the planned testdriver rewrite.

We can easily support this with existing infrastructure if we add some structure to the test case tags.
For instance on runtest/syscalls, one could use:
msgctl01_ipc
msgctl02_ipc
...

Quoted 7 lines

Then when calling runltp, one can use -s option to filter tests cases, e.g. ./runltp -f syscalls -s '*_ipc'

At Texas Instruments we use following convention for TAG names <AREA>_<SCOPE>_<TYPE>_<ID>

That is no go, at least here we have database of testruns for different distributions and renaming the testcases tags will break the regression detection. So I would preffer solution that adds a metadata without renaming the current test tags. The problem is that ltp-pan and runltp are so horribly outdated and unmaintaned that adding functionality to these is out of question.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list