1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
Douglas Bagnall
8f17d48163 selftest: enable perl warnings
After this we will see more noise with each test run, and these
warnings will be addressed in following commits.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-02-04 05:13:39 +00:00
Jamie McClymont
dd1f8cdf6b selftest: consistently produce high-res UTC time
Currently some subunit reporters throughout the codebase provide low-res time,
meaning timestamps jump back and forth in the subunit file. Also, some subunit
reporters produce UTC timestamps while others produce local time. UTC was chosen
as the standard for this commit since all of the timestamps end with a Z (= Zulu
= UTC).

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Mar 22 13:26:44 CET 2018 on sn-devel-144
2018-03-22 13:26:44 +01:00
Jelmer Vernooij
31d5ac0540 selftest: Let tests add prefix to tests by themselve. 2010-09-22 17:48:23 -07:00
Jelmer Vernooij
1e5ea0be84 subunit.pm: Fold Subunit::Filter into Subunit, trim further. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
c0923cfac1 subunit.pm: Remove output_msg/control_msg functions. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
7d4968e161 selftest: Remove testsuite parsing. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
d3960f6b40 subunit.pm: Simplify subunit handling in perl. 2010-09-14 10:54:28 +02:00
Jelmer Vernooij
49411fa107 subunit.pm: Pass through milliseconds in time reports. 2010-09-14 10:54:27 +02:00
Jelmer Vernooij
9f3a43c018 selftest: Report times in milliseconds rather than seconds. 2010-09-14 10:54:27 +02:00
Stefan Metzmacher
8e6f673929 selftest/Subunit.pm: fix perl warnings
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136

metze
2010-08-28 10:59:18 +02:00
Jelmer Vernooij
3c7a7bbb9a subunit: Make sure "]" in failure reason ends up on its own line, so the
next subunit parser in the line parses it correctly.
2010-08-26 04:04:37 +02:00
Jelmer Vernooij
6c299d28b5 selftest: Use standard subunit command for progress reporting. 2010-03-31 02:20:08 +02:00
Jelmer Vernooij
b2eb609d4d selftest: Use standard subunit commands for progress reporting. 2010-03-31 02:20:08 +02:00
Andrew Tridgell
429102e6bd subunit: fixed reporting of unexpected failures 2010-03-20 16:50:27 +11:00
Jelmer Vernooij
17d6f56646 selftest: Cope with 'multipart' support in subunit. 2010-01-21 17:16:19 +13:00
Andrew Kroeger
5afa115f2a selftest: Account for 0-based months in date parsing and printing.
All:

Please find attached 2 patches to correct date/time parsing and output
in the Subunit processing.  The first patch corrects the logic to
account for months being 0-based.  The second corrects the time
formatting, as it is dealing with local, not "Z"ulu (UTC) time.

Sincerely,
Andrew Kroeger

>From 3cf81eea1309084a973359c7f6a2375d5d20a3f0 Mon Sep 17 00:00:00 2001
From: Andrew Kroeger <andrew@id10ts.net>
Date: Fri, 4 Sep 2009 01:24:00 -0500
Subject: [PATCH] selftest: Account for 0-based months in date parsing and printing.
2009-09-05 10:06:29 +10:00
Jelmer Vernooij
7c3f31a262 subunit: Pass canonical names of test results to formatters and filters. 2009-06-12 15:08:14 +02:00
Jelmer Vernooij
cc216340a6 selftest: Fix exit code for format-subunit.pl. 2009-06-11 20:00:00 +02:00
Jelmer Vernooij
84f2d3001d selftest/subunit: Add diff command that can diff two subunit streams. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
d8a77a798b selftest: Properly recognize xfail testsuites. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
2e311fdac5 selftest/subunit: Remove open_tests argument from parse_results. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
ed61cc5419 selftest: Fix subunit formatting, fix years when filtering subunit
streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
68578d6374 selftest: Fix handling of testsuite, reintroduce progress indication. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
8a76e4ab29 selftest/subunit: Remove prefix command. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
c278ee50ee More work supporting prefixes. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a selftest: Use external processes for filtering known failures and pretty
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa selftest: Use filter-xfail for known failures 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
0e2f97092c Subunit: Support "fail" as alias for "failure" in Subunit streams. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
9e108009d0 subunit: Move more Subunit printing logic to Subunit.pm. 2009-06-11 19:59:57 +02:00
Jelmer Vernooij
0a1dbf353d subunit: Support the time: command. 2009-06-11 19:59:57 +02:00
Jelmer Vernooij
ea907a7144 selftest: Add copyright headers 2009-03-25 15:40:39 +01:00
Jelmer Vernooij
182a0e3490 Move selftest code to top-level. 2008-09-18 19:51:03 +02:00