1
- # Copyright 2011, 2012, 2013 David Malcolm <[email protected] >
2
- # Copyright 2011, 2012, 2013 Red Hat, Inc.
1
+ # Copyright 2011-2013, 2017 David Malcolm <[email protected] >
2
+ # Copyright 2011-2013, 2017 Red Hat, Inc.
3
3
#
4
4
# This is free software: you can redistribute it and/or modify it
5
5
# under the terms of the GNU General Public License as published by
16
16
# <http://www.gnu.org/licenses/>.
17
17
18
18
.PHONY : all clean debug dump_gimple plugin show-ssa tarball \
19
- test-suite testcpychecker testcpybuilder \
19
+ test-suite testcpychecker testcpybuilder testdejagnu \
20
20
man
21
21
22
22
PLUGIN_SOURCE_FILES = \
@@ -121,7 +121,7 @@ ifneq "$(PLUGIN_PYTHONPATH)" ""
121
121
CPPFLAGS+ = -DPLUGIN_PYTHONPATH='"$(PLUGIN_PYTHONPATH ) "'
122
122
endif
123
123
124
- all : autogenerated-config.h testcpybuilder test-suite testcpychecker
124
+ all : autogenerated-config.h testcpybuilder testdejagnu test-suite testcpychecker
125
125
126
126
# What still needs to be wrapped?
127
127
api-report :
@@ -276,6 +276,10 @@ testcpychecker: plugin
276
276
testcpybuilder :
277
277
$(PYTHON ) testcpybuilder.py -v
278
278
279
+ # Selftest for the dejagnu.py code:
280
+ testdejagnu :
281
+ $(PYTHON ) dejagnu.py -v
282
+
279
283
dump_gimple :
280
284
$(CC ) -fdump-tree-gimple $(CURDIR ) /test.c
281
285
@@ -289,7 +293,7 @@ demo: plugin
289
293
json-examples : plugin
290
294
$(INVOCATION_ENV_VARS ) $(srcdir ) ./gcc-with-cpychecker -I/usr/include/python2.7 -c libcpychecker_html/test/example1/bug.c
291
295
292
- test-suite : plugin print-gcc-version
296
+ test-suite : plugin print-gcc-version testdejagnu
293
297
$(INVOCATION_ENV_VARS ) $(PYTHON ) run-test-suite.py
294
298
295
299
show-ssa : plugin
@@ -394,16 +398,14 @@ rpm:
394
398
rpmbuild -ba gcc-python-plugin.spec
395
399
396
400
# Perform a test (scratch) build in Koji:
397
- # f16 was gcc 4.6, but this has been deleted from Koji
398
- # f17: gcc 4.7
399
- # f19: gcc 4.8
400
- koji-gcc-4.6 : srpm
401
- koji build --scratch f16 ~ /rpmbuild/SRPMS/gcc-python-plugin-$(VERSION ) -1.fc17.src.rpm
402
-
403
- koji-gcc-4.7 : srpm
404
- koji build --scratch f17 ~ /rpmbuild/SRPMS/gcc-python-plugin-$(VERSION ) -1.fc17.src.rpm
401
+ # The following have been deleted from Koji:
402
+ # f16 was gcc 4.6
403
+ # f17 was gcc 4.7
404
+ # f19 was gcc 4.8
405
+ koji-gcc-5 : srpm
406
+ koji build --scratch f23 ~ /rpmbuild/SRPMS/gcc-python-plugin-$(VERSION ) -1.fc20.src.rpm
405
407
406
- koji-gcc-4.8 : srpm
407
- koji build --scratch f19 ~ /rpmbuild/SRPMS/gcc-python-plugin-$(VERSION ) -1.fc17 .src.rpm
408
+ koji-gcc-6 : srpm
409
+ koji build --scratch f24 ~ /rpmbuild/SRPMS/gcc-python-plugin-$(VERSION ) -1.fc20 .src.rpm
408
410
409
- koji : koji-gcc-4.7 koji-gcc-4.8
411
+ koji : koji-gcc-5 koji-gcc-6
0 commit comments