Commit a981b3c8bf9f6be3fde6fa4aa2dae81be4834ec4
1 parent
7fc2b89c
Correct test order (pipelines should be last).
Showing
1 changed file
with
16 additions
and
16 deletions
test/test_python.py
| @@ -33,8 +33,8 @@ import test_ctexpcube | @@ -33,8 +33,8 @@ import test_ctexpcube | ||
| 33 | import test_ctpsfcube | 33 | import test_ctpsfcube |
| 34 | import test_ctbkgcube | 34 | import test_ctbkgcube |
| 35 | import test_ctcubemask | 35 | import test_ctcubemask |
| 36 | -import test_pipelines | ||
| 37 | import test_ctbutterfly | 36 | import test_ctbutterfly |
| 37 | +import test_pipelines | ||
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | # ======================== # | 40 | # ======================== # |
| @@ -48,19 +48,19 @@ if __name__ == '__main__': | @@ -48,19 +48,19 @@ if __name__ == '__main__': | ||
| 48 | suites = gammalib.GTestSuites("ctools unit testing") | 48 | suites = gammalib.GTestSuites("ctools unit testing") |
| 49 | 49 | ||
| 50 | # Allocate test suites and append them to the container | 50 | # Allocate test suites and append them to the container |
| 51 | - suite_ctobssim = test_ctobssim.Test() | ||
| 52 | - suite_ctselect = test_ctselect.Test() | ||
| 53 | - suite_ctbin = test_ctbin.Test() | ||
| 54 | - suite_ctlike = test_ctlike.Test() | ||
| 55 | - suite_cttsmap = test_cttsmap.Test() | ||
| 56 | - suite_ctmodel = test_ctmodel.Test() | ||
| 57 | - suite_ctskymap = test_ctskymap.Test() | ||
| 58 | - suite_ctexpcube = test_ctexpcube.Test() | ||
| 59 | - suite_ctpsfcube = test_ctpsfcube.Test() | ||
| 60 | - suite_ctbkgcube = test_ctbkgcube.Test() | ||
| 61 | - suite_ctcubemask = test_ctcubemask.Test() | ||
| 62 | - suite_pipelines = test_pipelines.Test() | ||
| 63 | - suite_ctbutterfly = test_ctbutterfly.Test() | 51 | + suite_ctobssim = test_ctobssim.Test() |
| 52 | + suite_ctselect = test_ctselect.Test() | ||
| 53 | + suite_ctbin = test_ctbin.Test() | ||
| 54 | + suite_ctlike = test_ctlike.Test() | ||
| 55 | + suite_cttsmap = test_cttsmap.Test() | ||
| 56 | + suite_ctmodel = test_ctmodel.Test() | ||
| 57 | + suite_ctskymap = test_ctskymap.Test() | ||
| 58 | + suite_ctexpcube = test_ctexpcube.Test() | ||
| 59 | + suite_ctpsfcube = test_ctpsfcube.Test() | ||
| 60 | + suite_ctbkgcube = test_ctbkgcube.Test() | ||
| 61 | + suite_ctcubemask = test_ctcubemask.Test() | ||
| 62 | + suite_ctbutterfly = test_ctbutterfly.Test() | ||
| 63 | + suite_pipelines = test_pipelines.Test() | ||
| 64 | 64 | ||
| 65 | # Setup unit tests | 65 | # Setup unit tests |
| 66 | suite_ctobssim.set() | 66 | suite_ctobssim.set() |
| @@ -74,8 +74,8 @@ if __name__ == '__main__': | @@ -74,8 +74,8 @@ if __name__ == '__main__': | ||
| 74 | suite_ctpsfcube.set() | 74 | suite_ctpsfcube.set() |
| 75 | suite_ctbkgcube.set() | 75 | suite_ctbkgcube.set() |
| 76 | suite_ctcubemask.set() | 76 | suite_ctcubemask.set() |
| 77 | - suite_pipelines.set() | ||
| 78 | suite_ctbutterfly.set() | 77 | suite_ctbutterfly.set() |
| 78 | + suite_pipelines.set() | ||
| 79 | 79 | ||
| 80 | # Append tests to container | 80 | # Append tests to container |
| 81 | suites.append(suite_ctobssim) | 81 | suites.append(suite_ctobssim) |
| @@ -89,8 +89,8 @@ if __name__ == '__main__': | @@ -89,8 +89,8 @@ if __name__ == '__main__': | ||
| 89 | suites.append(suite_ctpsfcube) | 89 | suites.append(suite_ctpsfcube) |
| 90 | suites.append(suite_ctbkgcube) | 90 | suites.append(suite_ctbkgcube) |
| 91 | suites.append(suite_ctcubemask) | 91 | suites.append(suite_ctcubemask) |
| 92 | - suites.append(suite_pipelines) | ||
| 93 | suites.append(suite_ctbutterfly) | 92 | suites.append(suite_ctbutterfly) |
| 93 | + suites.append(suite_pipelines) | ||
| 94 | 94 | ||
| 95 | # Set PFILES environment variable | 95 | # Set PFILES environment variable |
| 96 | try: | 96 | try: |