funit 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.rdoc +5 -0
- data/README.rdoc +1 -1
- data/bin/funit +1 -0
- data/lib/funit.rb +21 -1
- data/lib/funit/functions.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d74c93567870494e9b04d12e8f533114cadc706
|
|
4
|
+
data.tar.gz: 08637a63d4b1b00c49ab4e4fbc5b77e2a88cc66f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb0ed7e3fc4f1e607295ebdeee6af4b3cd902d2c856d8f38a04e4b33b087e710eb6f9cde87e44ff876ce902d6ead8ccaf668afdce11529a64c63e9bafe331bd3
|
|
7
|
+
data.tar.gz: 4dafe87d2dbe286bdacc5c3b21dc511c9f6a5e5416e30dea85429bc44e84c100c11314c67a34061ff3720ce312aa952113aabf3a01e34811b0e73380ea4073f3
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
|
@@ -91,7 +91,7 @@ these directories can be found in your Rubygems library directory, e.g., <tt>/us
|
|
|
91
91
|
* Set FC environment variable to point to a Fortran compiler:
|
|
92
92
|
* <tt>export FC=/path/of/Fortran/compiler</tt> (sh)
|
|
93
93
|
* <tt>setenv FC /path/of/Fortran/compiler</tt> (csh)
|
|
94
|
-
* Other influential environment variables: FCFLAGS and
|
|
94
|
+
* Other influential environment variables: FCFLAGS, LDFLAGS, and MAKE_OPTS
|
|
95
95
|
|
|
96
96
|
== LICENSE:
|
|
97
97
|
|
data/bin/funit
CHANGED
data/lib/funit.rb
CHANGED
|
@@ -14,7 +14,7 @@ require 'fileutils'
|
|
|
14
14
|
|
|
15
15
|
module Funit
|
|
16
16
|
|
|
17
|
-
VERSION = '0.12.
|
|
17
|
+
VERSION = '0.12.4'
|
|
18
18
|
|
|
19
19
|
##
|
|
20
20
|
# run all tests
|
|
@@ -74,6 +74,26 @@ but for some such as Sun's f95 compiler you will need: -M
|
|
|
74
74
|
exit
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
|
+
|
|
78
|
+
def print_env_flags
|
|
79
|
+
puts <<-EOF
|
|
80
|
+
|
|
81
|
+
Some influential environment variables:
|
|
82
|
+
|
|
83
|
+
FC fortran compiler command
|
|
84
|
+
FCFLAGS fortran compiler flags
|
|
85
|
+
LDFLAGS linker flags
|
|
86
|
+
|
|
87
|
+
CC C compiler command
|
|
88
|
+
CFLAGS C compiler flags
|
|
89
|
+
|
|
90
|
+
CXX C++ compiler command
|
|
91
|
+
CXXFLAGS C++ compiler flags
|
|
92
|
+
|
|
93
|
+
MAKE_OPTS make commandline options (e.g. "-j")
|
|
94
|
+
|
|
95
|
+
EOF
|
|
96
|
+
end
|
|
77
97
|
end
|
|
78
98
|
|
|
79
99
|
#--
|
data/lib/funit/functions.rb
CHANGED
|
@@ -133,7 +133,8 @@ module Funit
|
|
|
133
133
|
|
|
134
134
|
File.open("makeTestRunner", "w") {|file| file.puts MAKEFILE.result(binding)}
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
make_options = ENV['MAKE_OPTS']
|
|
137
|
+
compile = "make #{make_options} -f makeTestRunner"
|
|
137
138
|
|
|
138
139
|
raise "Compile failed." unless system compile
|
|
139
140
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: funit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen Bibb
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2016-02-
|
|
15
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: fortran
|