Re: [LTP] open posix testsuite and names of testcases

chrubis
2013-04-23T13:47:51Z

> I tried to change the generate-makefiles.sh script, but there are some
> problems.
>
> Some tests are shell scripts that doesn't have build phase. I've
> workarounded them by adding build rules that just copy them to
> name_x-y.sh in the build phase, which unfortunatelly haven't fixed all
> the problems.
>
> We have quite quite a lot of tests (~270) that are shell scripts that
> prints "This is tested implicitly via assertion xyz" and returns zero.
> I'm quite tempted to remove them. These just increase tests run time,
> log sizes, etc. but doesn't do any actual work.
>
> Then there are more problematic ones, shell tests that calls one binary
> with different parameters. As in sigignore for example. The paths and
> names are obviously hardcoded, which makes them fail. The fix for such
> cases will depend case by case but what I will probably do is to make
> each test self-contained, but I haven't analyzed all the failures yet.

Good news everyone, I've just commited a patch that modifies the script
that generates the Makefiles (since I've fixed all the issues that
blocked this change).

Now the test binaries and scripts are prefixed with the directory such
as 'sigaction_'. I've did some testruns and everything seems fine.

Please tests.

--
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr