From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Olsa Subject: Re: [PATCH 1/9] perf test: Adding an entry for the perftool-testsuite Date: Sun, 27 Mar 2016 14:24:54 +0200 Message-ID: <20160327122454.GN4015@krava.sund.root.ku.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55036 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbcC0MY4 (ORCPT ); Sun, 27 Mar 2016 08:24:56 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Michael Petlan Cc: linux-perf-users@vger.kernel.org, acme@kernel.org On Wed, Mar 16, 2016 at 02:50:59PM +0100, Michael Petlan wrote: SNIP > +/* runs a group of tests ("base_something", ...) */ > +int run_group(const char *path) > +{ > + DIR *dp; > + struct dirent *ep; > + int ret; > + > + int failures = 0; > + ret = chdir(path); > + > + if (verbose) > + printf("======== %s ========\n", path); > + > + /* try to run setup */ > + failures += try_shell("setup.sh"); is there a point to run tests if the setup fails? jirka