diff --git a/cscripts/Makefile.am b/cscripts/Makefile.am index 5a6c64c..30d3702 100644 --- a/cscripts/Makefile.am +++ b/cscripts/Makefile.am @@ -144,6 +144,7 @@ testdata = $(top_srcdir)/test/data/crab.xml \ $(top_srcdir)/test/data/workflow.xml \ $(top_srcdir)/test/data/butterfly.txt \ $(top_srcdir)/test/data/pha.fits \ + $(top_srcdir)/test/data/pha_channels.fits \ $(top_srcdir)/test/data/pull.dat \ $(top_srcdir)/test/data/sensitivity.dat \ $(top_srcdir)/test/data/spectrum.fits \ diff --git a/test/data/pha_channels.fits b/test/data/pha_channels.fits new file mode 100644 index 0000000..ef3b2c9 --- /dev/null +++ b/test/data/pha_channels.fits diff --git a/test/test_examples.py.in b/test/test_examples.py.in index d39aff9..b6454bf 100755 --- a/test/test_examples.py.in +++ b/test/test_examples.py.in @@ -300,7 +300,13 @@ class Test(gammalib.GPythonTestSuite): Test show_pha """ # Set arguments - args = '-p example_show_pha.eps %s/pha.fits' % self._datadir + args = '-p example_show_pha1.eps %s/pha.fits' % self._datadir + + # Execute script + self._execute_python('show_pha', args=args) + + # Set arguments + args = '-p example_show_pha2.eps %s/pha_channels.fits' % self._datadir # Execute script self._execute_python('show_pha', args=args)