pymtt
 All Classes Namespaces Files Functions Variables Groups
ftb.ini
Go to the documentation of this file.
1 [MTT]
2 
3 min_disk_free = 50000
4 
5 #======================================================================
6 # Get FTB phase
7 #======================================================================
8 
9 [MPI get: ftb-trunk]
10 mpi_details = FTB
11 
12 module = SCM
13 scm_module = SVN
14 scm_url = https://svn.mcs.anl.gov/repos/cifts/ftb/trunk/
15 scm_post_copy = <<EOT
16 ./autogen.sh
17 EOT
18 
19 #----------------------------------------------------------------------
20 
21 [MPI get: ftb-nightly-tarball]
22 mpi_details = FTB
23 
24 module = Download
25 download_url = http://www.mcs.anl.gov/research/cifts/software/ftb-0.6.2.tgz
26 
27 #----------------------------------------------------------------------
28 
29 [MPI Details: FTB]
30 exec = run-ftb-test.pl -v 3 -np &test_np() -test &test_executable() -path &test_executable_dir()
31 
32 #======================================================================
33 # Install FTB phase
34 #======================================================================
35 
36 [MPI install: Platform]
37 mpi_get = ftb-trunk
38 mpi_details = FTB
39 save_stdout_on_success = 1
40 merge_stdout_stderr = 1
41 
42 module = FTB
43 ftb_vpath_mode = none
44 ftb_make_check = 0
45 ftb_compiler_name = gnu
46 ftb_compiler_version = &get_gcc_version()
47 ftb_configure_arguments = <<EOT
48 CFLAGS=-pipe
49 EOT
50 
51 #======================================================================
52 # Test get phase
53 #======================================================================
54 
55 [Test get: ftb-test-trunk]
56 module = SCM
57 scm_module = SVN
58 scm_url = https://svn.mcs.anl.gov/repos/cifts/ftb/trunk/
59 scm_post_copy = <<EOT
60 ./autogen.sh
61 EOT
62 
63 #======================================================================
64 # Test build phase
65 #======================================================================
66 
67 [Test build: ftb-test-trunk]
68 test_get = ftb-test-trunk
69 save_stdout_on_success = 1
70 merge_stdout_stderr = 1
71 stderr_save_lines = 100
72 
73 module = Shell
74 shell_build_command = <<EOT
75 ./configure --with-ftb=&test_prefix_pretty()
76 make
77 EOT
78 
79 #======================================================================
80 # Test Run phase
81 #======================================================================
82 
83 [Test run: ftb-test-trunk-examples]
84 test_build = ftb-test-trunk
85 pass = &and(&cmd_wifexited(), &eq(&cmd_wexitstatus(), 0))
86 timeout = 5:00
87 save_stdout_on_pass = 1
88 stdout_save_lines = -1
89 merge_stdout_stderr = 1
90 
91 np = &env_max_hosts()
92 
93 specify_module = Simple
94 #analyze_module = FTB
95 simple_pass:tests = ftb_multiplecomp
96 
97 #----------------------------------------------------------------------
98 
99 # This reporter writes results to a local text file
100 [Reporter: text file backup]
101 module = TextFile
102 
103 textfile_filename = ftb-report-$phase-$section-$mpi_name-$mpi_version.txt
104 
105 textfile_summary_header = <<EOT
106 hostname: &shell("hostname")
107 uname: &shell("uname -a")
108 user: &shell("whoami")
109 EOT
110 
111 textfile_summary_footer =
112 textfile_detail_header = FTB Debug Report
113 textfile_detail_footer =
114 textfile_textwrap = 78
115 
116 # Send digested summary of mtt execution by email
117 email_to = cifts-devel@googlegroups.com
118 email_subject = FTB test has completed, status: $overall_mtt_status
119 email_detailed_report = 1
120 email_footer = <<EOT
121 Test Scratch Directory is &scratch_root()
122 EOT
123