From: Jiri Olsa <jolsa@redhat.com>
To: Michael Petlan <mpetlan@redhat.com>
Cc: linux-perf-users@vger.kernel.org, acme@kernel.org
Subject: Re: [PATCH 1/9] perf test: Adding an entry for the perftool-testsuite
Date: Sun, 27 Mar 2016 14:24:02 +0200 [thread overview]
Message-ID: <20160327122402.GI4015@krava.sund.root.ku.dk> (raw)
In-Reply-To: <alpine.LRH.2.20.1603161450230.13911@Rudolf-RHEL-7>
On Wed, Mar 16, 2016 at 02:50:59PM +0100, Michael Petlan wrote:
SNIP
> + dp = opendir("./");
> + if (dp != NULL) {
> +
> + while ((ep = readdir(dp))) {
> + if (strncmp(ep->d_name, "base_", 5))
> + continue;
> + failures += run_group(ep->d_name);
> + }
> + closedir(dp);
> + }
> + else
> + test_status = TEST_SKIP;
> +
> + ret = chdir(cwd);
> + ret = ret;
> + free(cwd);
> +
> + if(failures || fatal_occured)
you propage all the error all the way through, so what's
the point of having extra global fatal_occured variable?
thanks,
jirka
next prev parent reply other threads:[~2016-03-27 12:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1458134357.git.mpetlan@redhat.com>
2016-03-16 13:50 ` [PATCH 1/9] perf test: Adding an entry for the perftool-testsuite Michael Petlan
2016-03-27 12:23 ` Jiri Olsa
2016-03-29 12:57 ` Michael Petlan
2016-03-27 12:23 ` Jiri Olsa
2016-03-27 12:24 ` Jiri Olsa [this message]
2016-03-27 12:24 ` Jiri Olsa
2016-03-29 12:19 ` Michael Petlan
2016-03-27 12:24 ` Jiri Olsa
2016-03-29 12:19 ` Michael Petlan
2016-03-29 19:39 ` Jiri Olsa
2016-03-27 12:24 ` Jiri Olsa
2016-03-16 13:51 ` [PATCH 2/9] perf test: adding new testsuite: common files Michael Petlan
2016-03-16 13:54 ` [PATCH 3/9] perf test: new testsuite: perf annotate tests Michael Petlan
2016-03-16 13:55 ` [PATCH 4/9] perf test: new testsuite: perf buildid-list tests Michael Petlan
2016-03-16 13:55 ` [PATCH 5/9] perf test: new testsuite: perf list tests Michael Petlan
2016-03-16 13:56 ` [PATCH 6/9] perf test: new testsuite: perf probe tests Michael Petlan
2016-03-16 13:56 ` [PATCH 7/9] perf test: new testsuite: perf report tests Michael Petlan
2016-03-16 13:57 ` [PATCH 8/9] perf test: new testsuite: perf stat tests Michael Petlan
2016-03-16 13:57 ` [PATCH 9/9] perf test: new testsuite: perf trace tests Michael Petlan
2015-12-07 18:52 [PATCH 1/9] perf test: Adding an entry for the perftool-testsuite Michael Petlan
2015-12-15 12:03 ` Jiri Olsa
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=20160327122402.GI4015@krava.sund.root.ku.dk \
--to=jolsa@redhat.com \
--cc=acme@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mpetlan@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).