Package: apbs / 1.4-1

debian_testfiles.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Author: Daniel Leidert <dleidert@debian.org>
Description: Don't run very expensive tests. This has been done
 for a while via debian/patches/03_skip_expensive_tests.patch.
 .
 Fix test script to get the dirctories right.

--- a/tests/apbs_tester.py
+++ b/tests/apbs_tester.py
@@ -178,13 +178,15 @@
     print "The following sections will be tested: " + ', '.join( test_sections )
     print '=' * 80
 
+    current_dir = os.getcwd()
+
     for test_name in test_sections:
         print "Running tests for " + test_name + " section"
         if test_name not in config.sections():
             print "  " + test_name + " section not found in " + options.test_config
             print "  skipping..."
             continue
-        test_directory = config.get( test_name, 'input_dir' )
+        test_directory = current_dir + "/" + config.get( test_name, 'input_dir' )
         config.remove_option( test_name, 'input_dir' )
         run_test( binary, config.items( test_name ), test_name, test_directory, logger, options.ocd )
 
--- a/tests/test_cases.cfg
+++ b/tests/test_cases.cfg
@@ -6,13 +6,6 @@
 apbs-mol-parallel  : -2.304918086635E+02
 apbs-smol-parallel : -2.293871354771E+02
 
-[actin-dimer]
-input_dir          : ../examples/actin-dimer
-apbs-mol-auto      :  1.048683060915E+02
-apbs-smol-auto     :  1.095841074454E+02
-apbs-mol-parallel  :  9.817462910199E+01
-apbs-smol-parallel :  1.155422164152E+02
-
 [alkanes]
 input_dir          : ../examples/alkanes
 alkanes            :  1.439739455792E+01 1.208346456826E+01 1.354016672221E+01 9.363673200142E+00 9.422717598546E+00 1.640068943201E+01 1.323144287435E+01 7.894367190329E+00 1.449633815052E+01 1.447900211546E+01 1.192358496286E+01
@@ -38,13 +31,6 @@
 input_dir          : ../examples/ion-pmf
 ion-pmf            : -1.125192402906E+03 *
 
-[ion-protein]
-input_dir          : ../examples/ion-protein
-apbs-mol-pdiel2    :  1.559159533685E+01
-apbs-smol-pdiel2   :  2.355542126580E+01
-apbs-mol-pdiel12   :  1.802722643122E+01
-apbs-smol-pdiel12  :  1.928245019838E+01
-
 [pka-lig]
 input_dir          : ../examples/pka-lig
 apbs-mol-vdw       :  8.083540155785E+00