Skip to content

Commit 257ad36

Browse files
authored
Merge pull request #111 from davidmalcolm/add-rich-locations
Add rich locations
2 parents 7ae1410 + 6d3c427 commit 257ad36

24 files changed

+1141
-208
lines changed

Makefile

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.
33
#
44
# This is free software: you can redistribute it and/or modify it
55
# under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
1616
# <http://www.gnu.org/licenses/>.
1717

1818
.PHONY: all clean debug dump_gimple plugin show-ssa tarball \
19-
test-suite testcpychecker testcpybuilder \
19+
test-suite testcpychecker testcpybuilder testdejagnu \
2020
man
2121

2222
PLUGIN_SOURCE_FILES= \
@@ -121,7 +121,7 @@ ifneq "$(PLUGIN_PYTHONPATH)" ""
121121
CPPFLAGS+= -DPLUGIN_PYTHONPATH='"$(PLUGIN_PYTHONPATH)"'
122122
endif
123123

124-
all: autogenerated-config.h testcpybuilder test-suite testcpychecker
124+
all: autogenerated-config.h testcpybuilder testdejagnu test-suite testcpychecker
125125

126126
# What still needs to be wrapped?
127127
api-report:
@@ -276,6 +276,10 @@ testcpychecker: plugin
276276
testcpybuilder:
277277
$(PYTHON) testcpybuilder.py -v
278278

279+
# Selftest for the dejagnu.py code:
280+
testdejagnu:
281+
$(PYTHON) dejagnu.py -v
282+
279283
dump_gimple:
280284
$(CC) -fdump-tree-gimple $(CURDIR)/test.c
281285

@@ -289,7 +293,7 @@ demo: plugin
289293
json-examples: plugin
290294
$(INVOCATION_ENV_VARS) $(srcdir)./gcc-with-cpychecker -I/usr/include/python2.7 -c libcpychecker_html/test/example1/bug.c
291295

292-
test-suite: plugin print-gcc-version
296+
test-suite: plugin print-gcc-version testdejagnu
293297
$(INVOCATION_ENV_VARS) $(PYTHON) run-test-suite.py
294298

295299
show-ssa: plugin
@@ -394,16 +398,14 @@ rpm:
394398
rpmbuild -ba gcc-python-plugin.spec
395399

396400
# 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
405407

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
408410

409-
koji: koji-gcc-4.7 koji-gcc-4.8
411+
koji: koji-gcc-5 koji-gcc-6

0 commit comments

Comments
 (0)