From: Stefan Seefeld <stefan-v8iY73tHINja5EbDDlwbIw@public.gmane.org>
To: Christian Babeux
<christian.babeux-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org>
Cc: lttng-dev-bnB2LGs2QVJ+nrgayQ7rhA@public.gmane.org,
Openembedded-core-ZwoEplunGu3dfDuKDZ/zN51Ccm5ICvs9@public.gmane.org
Subject: Re: [PATCH] Enable ptest support for lttng.
Date: Thu, 12 Sep 2013 14:22:13 -0400 [thread overview]
Message-ID: <52320655.3080103@seefeld.name> (raw)
In-Reply-To: <CAGDH53kUE8aB_MoRvsxhA7jhvTpvT0+DYCGNmZnVdMFLgreR7w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 2013-09-12 14:12, Christian Babeux wrote:
> Hi Stefan,
>
>> +
>> +make -C tests installcheck
>> +
> A majority of the tests will probably fail this way. As of now, most
> tests assumes that they are being runned in the build tree and expect
> binaries to be at specific paths. We will have to fix this upstream if
> you want to integrate our testsuite with ptest.
That's right, in my tests only the "unit_tests" suite ran without
issues. The "fast_regressions" suite had many more failures than when
run as part of the 'check' target. (See my mail to the lttng list for more.)
Still, I think it's good to include these tests. If anything they may
just provide more motivation to address the underlying issue. :-)
>> ++prove --merge -v --exec '' - < $1 | sed \
>> ++ -e 's|^ok \(.*\)|PASS: \1|' \
>> ++ -e 's|^not ok \(.*\)|FAIL: \1|' \
>> ++ | egrep -h 'PASS|FAIL'
> This is sadly needed because we are using TAP as our standardized test
> output format across the multiples lttng codebases.
Do you think it would be worthwhile submitting this patch upstream ?
(The output format of prove is not the easiest to understand, and even
with the above some information may be lost. A more robust fix would
probably include a dedicated TAP formatter plugin
(http://perldoc.perl.org/TAP/Formatter/Console.html) that produces
ptest-compatible output.
Stefan
--
...ich hab' noch einen Koffer in Berlin...
WARNING: multiple messages have this Message-ID (diff)
From: Stefan Seefeld <stefan@seefeld.name>
To: Christian Babeux <christian.babeux@efficios.com>
Cc: lttng-dev@lists.lttng.org, Openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] Enable ptest support for lttng.
Date: Thu, 12 Sep 2013 14:22:13 -0400 [thread overview]
Message-ID: <52320655.3080103@seefeld.name> (raw)
In-Reply-To: <CAGDH53kUE8aB_MoRvsxhA7jhvTpvT0+DYCGNmZnVdMFLgreR7w@mail.gmail.com>
On 2013-09-12 14:12, Christian Babeux wrote:
> Hi Stefan,
>
>> +
>> +make -C tests installcheck
>> +
> A majority of the tests will probably fail this way. As of now, most
> tests assumes that they are being runned in the build tree and expect
> binaries to be at specific paths. We will have to fix this upstream if
> you want to integrate our testsuite with ptest.
That's right, in my tests only the "unit_tests" suite ran without
issues. The "fast_regressions" suite had many more failures than when
run as part of the 'check' target. (See my mail to the lttng list for more.)
Still, I think it's good to include these tests. If anything they may
just provide more motivation to address the underlying issue. :-)
>> ++prove --merge -v --exec '' - < $1 | sed \
>> ++ -e 's|^ok \(.*\)|PASS: \1|' \
>> ++ -e 's|^not ok \(.*\)|FAIL: \1|' \
>> ++ | egrep -h 'PASS|FAIL'
> This is sadly needed because we are using TAP as our standardized test
> output format across the multiples lttng codebases.
Do you think it would be worthwhile submitting this patch upstream ?
(The output format of prove is not the easiest to understand, and even
with the above some information may be lost. A more robust fix would
probably include a dedicated TAP formatter plugin
(http://perldoc.perl.org/TAP/Formatter/Console.html) that produces
ptest-compatible output.
Stefan
--
...ich hab' noch einen Koffer in Berlin...
next prev parent reply other threads:[~2013-09-12 18:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 1:09 [PATCH] Enable ptest support for lttng Stefan Seefeld
2013-09-12 1:09 ` Stefan Seefeld
2013-09-12 17:13 ` Saul Wold
2013-09-12 17:14 ` Stefan Seefeld
2013-09-12 18:12 ` Christian Babeux
[not found] ` <CAGDH53kUE8aB_MoRvsxhA7jhvTpvT0+DYCGNmZnVdMFLgreR7w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-12 18:22 ` Stefan Seefeld [this message]
2013-09-12 18:22 ` Stefan Seefeld
[not found] ` <52320655.3080103-v8iY73tHINja5EbDDlwbIw@public.gmane.org>
2013-09-12 22:12 ` Christian Babeux
2013-09-12 22:12 ` Christian Babeux
2013-09-24 13:20 ` Björn Stenberg
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=52320655.3080103@seefeld.name \
--to=stefan-v8iy73thinja5ebddlwbiw@public.gmane.org \
--cc=Openembedded-core-ZwoEplunGu3dfDuKDZ/zN51Ccm5ICvs9@public.gmane.org \
--cc=christian.babeux-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org \
--cc=lttng-dev-bnB2LGs2QVJ+nrgayQ7rhA@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.