[gobject-introspection/wip/dieterv/drive-by-review: 10/13] tests: don't repeat --warn-all --reparse-validate arguments



commit 390cf9fe226679d50fe2949cba1cb87313582b3c
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Thu Jun 25 21:22:50 2015 +0200

    tests: don't repeat --warn-all --reparse-validate arguments
    
    "--warn-all --reparse-validate" are already contained in
    $(INTROSPECTION_SCANNER_ARGS), no need to repeat

 tests/scanner/Makefile.am                  |    1 -
 tests/scanner/annotationparser/Makefile.am |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index b11aa5a..5ab9030 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -183,7 +183,6 @@ CHECKGIRS += Identfilter-1.0.gir
 
 Identfilter-1.0.gir: identfilter.h
        $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) \
-               --warn-all --reparse-validate \
                --namespace=Identfilter --accept-unprefixed --nsversion=1.0 --header-only \
                --identifier-filter-cmd="$(PYTHON) $(srcdir)/identfilter.py" \
                --output=$@ $<
diff --git a/tests/scanner/annotationparser/Makefile.am b/tests/scanner/annotationparser/Makefile.am
index 3003df8..37676ce 100644
--- a/tests/scanner/annotationparser/Makefile.am
+++ b/tests/scanner/annotationparser/Makefile.am
@@ -4,7 +4,7 @@ TESTS = \
        test_parser.py \
        test_patterns.py
 
-TESTS_ENVIRONMENT = builddir=$(builddir) top_builddir=$(top_builddir) srcdir=$(srcdir) 
top_srcdir=$(top_srcdir) \
+TESTS_ENVIRONMENT = env builddir=$(builddir) top_builddir=$(top_builddir) srcdir=$(srcdir) 
top_srcdir=$(top_srcdir) \
        PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir)
 LOG_COMPILER = $(top_srcdir)/tests/gi-tester
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]