From 70499779ec46dc3bf2c292226f81fff5fd50c780 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 20 Mar 2007 22:01:29 +0000 Subject: [PATCH] solaris 10 updates fixed a compilation error. --- test_problems/cathermo/HMW_graph_GvT/Gex_standalone.cpp | 3 ++- test_problems/cathermo/issp/runtest | 4 ++-- test_problems/pureFluidTest/runtest | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test_problems/cathermo/HMW_graph_GvT/Gex_standalone.cpp b/test_problems/cathermo/HMW_graph_GvT/Gex_standalone.cpp index 04e7e3e9e..8ca978154 100644 --- a/test_problems/cathermo/HMW_graph_GvT/Gex_standalone.cpp +++ b/test_problems/cathermo/HMW_graph_GvT/Gex_standalone.cpp @@ -137,7 +137,7 @@ double calc(double temp, double Iionic) { return gex; } -main() { +int main() { printf("standalone test of Gibbs excess free energy:\n"); printf("T = 50C\n"); @@ -148,4 +148,5 @@ main() { printf("T = 200C\n"); res = calc(273.15 + 200., Iionic); + return 0; } diff --git a/test_problems/cathermo/issp/runtest b/test_problems/cathermo/issp/runtest index d979d5642..3b01fb2b8 100755 --- a/test_problems/cathermo/issp/runtest +++ b/test_problems/cathermo/issp/runtest @@ -23,9 +23,9 @@ diff -w outputa.txt output_blessed.txt > diff_test.out retnStat=$? if [ $retnStat = "0" ] then - echo "successful diff comparison on ISSPTester test" + echo "successful diff comparison on issp test" else - echo "unsuccessful diff comparison on ISSPTester test" + echo "unsuccessful diff comparison on issp test" echo "FAILED" > csvCode.txt temp_success="0" fi diff --git a/test_problems/pureFluidTest/runtest b/test_problems/pureFluidTest/runtest index 3bf05a4de..57498ba79 100755 --- a/test_problems/pureFluidTest/runtest +++ b/test_problems/pureFluidTest/runtest @@ -10,7 +10,7 @@ testName=pureFluidTest_Water ################################################################# CANTERA_DATA=${CANTERA_DATA:=../../../data/inputs}; export CANTERA_DATA -CANTERA_BIN=${CANTERA_BIN:=../../../bin} +CANTERA_BIN=${CANTERA_BIN:=../../bin} ./testPureWater > output.txt retnStat=$? if [ $retnStat != "0" ]