From patchwork Tue Jan 27 14:25:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5718251 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 62B349F1D6 for ; Tue, 27 Jan 2015 14:25:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9BF1920211 for ; Tue, 27 Jan 2015 14:25:50 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C5452201FB for ; Tue, 27 Jan 2015 14:25:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 246F06E2A8; Tue, 27 Jan 2015 06:25:49 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 94ED56E2A8 for ; Tue, 27 Jan 2015 06:25:47 -0800 (PST) Received: by mail-wi0-f172.google.com with SMTP id h11so5153825wiw.5 for ; Tue, 27 Jan 2015 06:25:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=V2LDGb2ph3/gIL8sd56Pi+wAEEUZk5LW4ywU2fSdx7s=; b=UO5cK/5EHLuDchQaVqMNSeNNBU5LkuBULuCgKMMVa/sfM/+pFyAJHaP+zRhHojNBup QegUMtz4KKjIyL7i8gyGX6lv8W8584vg5KkNOXTbUPFbR7R1u4sefIYXM33ptDpBIZwH Om+qNz3/fNrxCsVuDFaad7OjByEhSXmxoGJPOdZTA09cdPbqS/qQeLSqBZheb4XdcrZk 2X7+HWvQ61bPXIzexoO14o929HZNJDaklpt1/KejbWlIFYZLNhPxqeOMK2PhV5hmiMKP jzjI5OlD2DrEGoq8XyOYXvooYZh6YDxUgbLf2yPrJ0HI+ATosaqXfQ42DANAVZdS6kJ9 SjLg== X-Gm-Message-State: ALoCoQmaTMdIF4ycEzWQPPuuN9dXxTT1otVhfqud4TJkpSlKiS90tIO2RwjBCOihj+5TTsKfsP4Y X-Received: by 10.180.92.231 with SMTP id cp7mr6507015wib.24.1422368746653; Tue, 27 Jan 2015 06:25:46 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id n3sm2012742wja.36.2015.01.27.06.25.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jan 2015 06:25:45 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 27 Jan 2015 14:25:43 +0000 Message-Id: <1422368744-14230-1-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [Intel-gfx] [PATCH i-g-t 1/2] lib: add subtest start and exit status code messages to debug output X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Thomas Wood --- lib/igt_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/igt_core.c b/lib/igt_core.c index d74f6f8..41f84bb 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -729,6 +729,7 @@ bool __igt_run_subtest(const char *subtest_name) } kmsg(KERN_INFO "%s: starting subtest %s\n", command_str, subtest_name); + igt_debug("Starting subtest: %s\n", subtest_name); gettime(&subtest_time); return (in_subtest = subtest_name); @@ -972,6 +973,7 @@ void igt_exit(void) exit(IGT_EXIT_SUCCESS); kmsg(KERN_INFO "%s: exiting, ret=%d\n", command_str, igt_exitcode); + igt_debug("Exiting with status code %d\n", igt_exitcode); if (!test_with_subtests) exit(igt_exitcode);