public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] open posix testsuite and names of testcases
Date: Tue, 23 Apr 2013 15:48:45 +0200	[thread overview]
Message-ID: <20130423134844.GE28044@rei> (raw)
In-Reply-To: <20130227171118.GB30351@rei>

> 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
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2013-04-23 13:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <605746806.1323310.1360671766487.JavaMail.root@redhat.com>
     [not found] ` <51218CB1.8040709@cn.fujitsu.com>
2013-02-27 14:38   ` [LTP] open posix testsuite and names of testcases chrubis
2013-02-27 17:11     ` chrubis
2013-04-23 13:48       ` chrubis [this message]
     [not found]         ` <1822042882.3039242.1366879006975.JavaMail.root@redhat.com>
2013-04-25 10:42           ` chrubis
2012-12-06 12:06 Jan Stancek
2012-12-06 14:13 ` chrubis
     [not found]   ` <878595998.11610861.1354808151182.JavaMail.root@redhat.com>
2012-12-06 16:35     ` chrubis
2012-12-06 14:14 ` Wanlong Gao
2012-12-06 14:27   ` chrubis
2013-02-11 14:38 ` chrubis
     [not found]   ` <652016734.705678.1360596388811.JavaMail.root@redhat.com>
2013-02-11 15:51     ` chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130423134844.GE28044@rei \
    --to=chrubis@suse.cz \
    --cc=gaowanlong@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox