Logo white

Iftach Sadeh / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,615
  • Compare
  • Branches 30
  • Tags 37
  • ctools
  • test
  • test_ctbin.py
04 Apr, 2017
2 commits
  • Clean up code (#1983)
    166d83b7
    Jürgen Knödlseder authored
    2017-04-04 12:23:27 +0200  
    Browse File »
  • Raise an exception instead of exiting with a non-zero return code in the unit tests (#1983)
    4218166f
    Jürgen Knödlseder authored
    2017-04-04 11:26:32 +0200  
    Browse File »

26 Sep, 2016
1 commit
  • Integrate code
    eaa75242
    Jürgen Knödlseder authored
    2016-09-26 09:43:32 +0200  
    Browse File »

31 Aug, 2016
1 commit
  • Fix bug #1850 (segfault in ctbin), add unit test to test for this case in the future
    63c302a9
    Michael Mayer authored
    2016-08-31 13:40:43 +0200  
    Browse File »

14 Aug, 2016
1 commit
  • Use support function in main.cpp code of ctools
    d9f9f2bd
    Jürgen Knödlseder authored
    2016-08-14 00:17:23 +0200  
    Browse File »

13 Aug, 2016
2 commits
  • Test all ctools for help text ...
    44315163
    The outcome of the unit tests depends on the presence of the CTOOLS environment variable. If the CTOOLS environment variable is not present the unit test should fail, otherwise it sould succeed.
    Jürgen Knödlseder authored
    2016-08-13 21:38:36 +0200  
    Browse File »
  • Enhance branch coverage (#1828)
    55989652
    Jürgen Knödlseder authored
    2016-08-13 18:43:23 +0200  
    Browse File »

11 Aug, 2016
1 commit
  • Enhance ctools unit tests
    76afa729
    Jürgen Knödlseder authored
    2016-08-11 00:13:05 +0200  
    Browse File »

07 Aug, 2016
1 commit
  • Change ctool.pars() to ctool.pardict() and cscript.pars() to cscript.pardict()
    b8e1637c
    Jürgen Knödlseder authored
    2016-08-07 22:22:22 +0200  
    Browse File »

06 Aug, 2016
2 commits
  • Add ctool and cscript pars() methods (#1838) ...
    03ebfe59
    The pars() methods allow to assign or to retrieve all application parameters in a dictionary. Makes ctools a bit more "Pythonic".
    Jürgen Knödlseder authored
    2016-08-06 02:27:17 +0200  
    Browse File »
  • Use new GApplication logger methods and enhance ctool unit tests (#1828)
    9830efd9
    Jürgen Knödlseder authored
    2016-08-06 00:23:50 +0200  
    Browse File »

04 Aug, 2016
4 commits
  • Enable log file opening in ctbin Python unit test before copying (#1823) ...
    73847eac
    This led to an invalid pointer problem before, is now fixed due to GammaLib fix.
    Jürgen Knödlseder authored
    2016-08-04 22:12:04 +0200  
    Browse File »
  • Fix ctbin::save() bug for empty observation container (#1835)
    038953cc
    Jürgen Knödlseder authored
    2016-08-04 18:07:52 +0200  
    Browse File »
  • Fix exception when calling ctools clear() methods (#1835)
    591cfd99
    Jürgen Knödlseder authored
    2016-08-04 11:06:07 +0200  
    Browse File »
  • Adapt ctools to new GApplication logger methods (#1828) ...
    04b1443d
    Since the new GApplication logger methods are more compact than the old format the "logTerse()" etc. constructs have been replaced by the new logger methods. At the same time, the chattiness levels have been reviewed with the following behaviour:
    - TERSE: only headers
    - NORMAL: standard output, only main results or computations
    - EXPLICIT: detailed output
    - VERBOSE: verbose output, mainly for diagnostics
    Jürgen Knödlseder authored
    2016-08-04 00:12:37 +0200  
    Browse File »

03 Aug, 2016
2 commits
  • Don't switch on debugging in ctbin unit test
    5b407451
    Jürgen Knödlseder authored
    2016-08-03 17:59:30 +0200  
    Browse File »
  • Use log_parameters() with GClobber argument (#1828)
    b3540bee
    Jürgen Knödlseder authored
    2016-08-03 13:57:15 +0200  
    Browse File »

22 Jul, 2016
1 commit
  • Temporary fix segfault when running test_ctbin.py script ...
    f3a1f6f2
    See #1823.
    Jürgen Knödlseder authored
    2016-07-22 00:48:57 +0200  
    Browse File »

21 Jul, 2016
1 commit
  • Adjust the log output
    5752a0de
    Jürgen Knödlseder authored
    2016-07-21 21:34:28 +0200  
    Browse File »

09 Jul, 2016
1 commit
  • Support out of source builds
    80cbc54c
    Jürgen Knödlseder authored
    2016-07-09 13:13:26 +0200  
    Browse File »

01 Jul, 2016
2 commits
  • Change command for unit test self test
    fbc4599d
    Jürgen Knödlseder authored
    2016-07-01 08:58:28 +0200  
    Browse File »
  • Use testing.py base class for unit testing
    b28ac830
    Jürgen Knödlseder authored
    2016-07-01 00:41:29 +0200  
    Browse File »

24 Jun, 2016
1 commit
  • Rename test/README to test/README.md
    82df6b96
    Jürgen Knödlseder authored
    2016-06-24 16:09:57 +0200  
    Browse File »

16 Mar, 2016
1 commit
  • Use ">/dev/null 2>&1" for redirection of file descriptor 2 (STDERR) and descript… ...
    beadce17
    …or 1 (STDOUT) to /dev/null.
    Jürgen Knödlseder authored
    2016-03-16 00:16:57 +0100  
    Browse File »

15 Mar, 2016
10 commits
  • Implement cslightcrv unit test.
    6f1583ea
    Jürgen Knödlseder authored
    2016-03-15 23:34:54 +0100  
    Browse File »
  • Experimental ctbin unit test.
    e7b90c18
    Jürgen Knödlseder authored
    2016-03-15 15:11:06 +0100  
    Browse File »
  • Still experimental ctbin test.
    ed6b9d01
    Jürgen Knödlseder authored
    2016-03-15 15:04:32 +0100  
    Browse File »
  • Suppress type output in test_cbin.py.
    8e2b6089
    Jürgen Knödlseder authored
    2016-03-15 14:42:37 +0100  
    Browse File »
  • Experimental ctbin unit test.
    aaf44d09
    Jürgen Knödlseder authored
    2016-03-15 14:36:26 +0100  
    Browse File »
  • Experimental check whether ctbin exists.
    d132f7d4
    Jürgen Knödlseder authored
    2016-03-15 14:29:47 +0100  
    Browse File »
  • Add ctbin command line tests to test_python_ctools.py. ...
    562eded4
    Note that test_python_ctools.py could ultimately replace all ctools, as for the shell script we anyways to not recover the results. Still, the shell script may still make some limited sense.
    Jürgen Knödlseder authored
    2016-03-15 13:43:16 +0100  
    Browse File »
  • Enhance ctbin Python module unit test to see that read_ahead() gets enabled.
    f1204a0c
    Jürgen Knödlseder authored
    2016-03-15 11:25:04 +0100  
    Browse File »
  • Enhance ctobssim.
    a7a3be59
    Jürgen Knödlseder authored
    2016-03-15 01:33:11 +0100  
    Browse File »
  • Enhance ctbin Python module test.
    0847394c
    Jürgen Knödlseder authored
    2016-03-15 00:15:01 +0100  
    Browse File »

14 Mar, 2016
1 commit
  • Add ctbin Python module unit tests.
    651d45a7
    Jürgen Knödlseder authored
    2016-03-14 18:06:10 +0100  
    Browse File »

25 Feb, 2016
2 commits
  • Remove catching of exception text as this does not work for Python < 2.6.
    3f095bf7
    Jürgen Knödlseder authored
    2016-02-25 12:28:30 +0100  
    Browse File »
  • Use "Exception as e" instead of "Exception, e" to make test scripts compatible with Python 3. ...
    735df659
    Note that this breaks compatibility with Python < 2.6.
    Jürgen Knödlseder authored
    2016-02-25 10:08:37 +0100  
    Browse File »

24 Feb, 2016
1 commit
  • Enhance error messages in case of an exception (now logs also the exception).
    c4bf507e
    Jürgen Knödlseder authored
    2016-02-24 15:37:42 +0100  
    Browse File »

03 Jul, 2015
1 commit
  • Fix Python source code formatting (PEP8) ...
    5c53c14a
    This command was run:
      autopep8 --select E101,W191 --in-place --recursive .
    
    It fixes only these two issues:
      - W191 indentation contains tabs
      - E101 indentation contains mixed spaces and tabs
    Christoph Deil authored
    2015-07-03 17:19:41 +0200  
    Browse File »

30 Jun, 2015
1 commit
  • Correct code formatting.
    30eeb6af
    Jürgen Knödlseder authored
    2015-06-30 21:18:55 +0200  
    Browse File »