Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex ability to select associativity



details:   https://anonhg.NetBSD.org/src/rev/3bd64f72a7ec
branches:  trunk
changeset: 771046:3bd64f72a7ec
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 06 18:32:39 2011 +0000

description:
ability to select associativity

diffstat:

 tests/lib/libc/regex/t_regex.awk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d8d8d921161f -r 3bd64f72a7ec tests/lib/libc/regex/t_regex.awk
--- a/tests/lib/libc/regex/t_regex.awk  Sun Nov 06 18:32:17 2011 +0000
+++ b/tests/lib/libc/regex/t_regex.awk  Sun Nov 06 18:32:39 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_regex.awk,v 1.1 2011/01/08 18:10:31 pgoyette Exp $
+# $NetBSD: t_regex.awk,v 1.2 2011/11/06 18:32:39 christos Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -48,6 +48,8 @@
 
 /^tc_list/ {
        for (i = 0; i < count; i++) {
+               if (skipassoc != "" && index(tcs[i], skipassoc) != 0)
+                       continue;
                printf("        atf_add_test_case %s\n", tcs[i]);
        }
 



Home | Main Index | Thread Index | Old Index