diff --git a/examples/Makefile.am b/examples/Makefile.am index 7730c2a..3634051 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -32,6 +32,7 @@ scripts = README.md \ pipeline_unbinned_disk.py \ pipeline_unbinned_mem.py \ show_butterfly.py \ + show_irf.py \ show_model.py \ show_pha.py \ show_pull_evolution.py \ diff --git a/test/test_examples.py.in b/test/test_examples.py.in index 8dde648..0b9e629 100755 --- a/test/test_examples.py.in +++ b/test/test_examples.py.in @@ -114,6 +114,8 @@ class Test(gammalib.GPythonTestSuite): 'Test pipeline_unbinned_mem.py') self.append(self.test_show_butterfly, 'Test show_butterfly.py') + self.append(self.test_show_irf, + 'Test show_irf.py') self.append(self.test_show_model, 'Test show_model.py') self.append(self.test_show_pha, @@ -278,6 +280,20 @@ class Test(gammalib.GPythonTestSuite): # Return return + # Test show_irf + def test_show_irf(self): + """ + Test show_irf + """ + # Set arguments + args = '-p example_show_irf.eps prod2 South_0.5h' + + # Execute script + self._execute_python('show_irf', args=args) + + # Return + return + # Test show_model def test_show_model(self): """