Add temporary prints to debug problem with test_more/div.cpp; see

Debug https://koji.fedoraproject.org/koji/taskinfo?taskID=17344298
This commit is contained in:
Brad Bell 2017-01-20 15:09:00 -07:00
commit b9b5a8ac4a

View file

@ -83,6 +83,18 @@ rm -rf %{buildroot}
%setup -q
# -----------------------------------------------------------------------------
# Prints to Debug https://koji.fedoraproject.org/koji/taskinfo?taskID=17344298
cat << EOF > junk.sed
/^bool Div(void)/N
s|^bool Div(void).*|&\\
std::cout << "epsilon = " << std::numeric_limits<double>::epsilon() << "\\\\n";|
#
s|.*NearEqual( *\\([^,]*\\), *\\([^,]*\\), *eps99.*|&\\
std::cout << "ok = " << ok << ", \\1 = " << \\1 << ", (\\1 - (\\2)) = " << (\\1 - (\\2)) << "\\\\n";|
EOF
sed -i test_more/div.cpp -f junk.sed
# -----------------------------------------------------------------------------
# Replace cppad_SOURCE_DIR by the system include directory so that
# installed files, instead of local files, are used for testing.
#
@ -179,6 +191,7 @@ make check
- Include explicit setting of all possible cmake command options
- (empty prefix setting correspond to packages not included).
- cppad_sparse_list=YES removed (YES is now always chosen by upstream source)
- Temporary print to debug koji.fedoraproject.org/koji/taskinfo?taskID=17344298
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160000.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild