diff --git a/eo/test/run_tests b/eo/test/run_tests index a1503ef7..5f3b5af1 100755 --- a/eo/test/run_tests +++ b/eo/test/run_tests @@ -1,6 +1,39 @@ #!/bin/sh +echo "Starting t-eo" +./t-eo > eo.log -echo "Starting Replacement Test" +echo "Starting t-eoReplacement" ./t-eoReplacement > replacement.log + +echo "Starting t-eoCheckpointing" +./t-eoCheckpointing > checkpointing.log + +echo "Testing -h" +./t-eoCheckpointing -h > ch2.log + +echo "Testing t-eoExternalEO" +./t-eoExternalEO > externalEO.log + +echo "Testing t-eoGenOp" +./t-eoGenOp > genOp.log + +echo "Testing t-eoSelect" +./t-eoSelect > select.log + +echo "Testing t-eoStateAndParser" +# TODO, many different parameter settings and checks +./t-eoStateAndParser > stateAndParser.log + +echo "Testing t-eoSymreg" +./t-eoSymreg > symreg.log + +echo "Testing t-eobin" +./t-eobin > bin.log + +echo "Testing t-eofitness" +./t-eofitness > fitness.log + echo "Finished" +#TODO test if an error occured +echo "Ok" diff --git a/eo/test/t-eoSymreg.cpp b/eo/test/t-eoSymreg.cpp index ca76e772..56d5077f 100644 --- a/eo/test/t-eoSymreg.cpp +++ b/eo/test/t-eoSymreg.cpp @@ -212,7 +212,7 @@ int main() typedef eoPop Pop; const int MaxSize = 100; - const int nGenerations = 500; + const int nGenerations = 10; // only a test, so few generations // Initializor sequence, contains the allowable nodes vector init(init_sequence, init_sequence + 5); @@ -223,7 +223,7 @@ int main() // Root Mean Squared Error Measure RMS eval; - Pop pop(5000, initializer); + Pop pop(50, initializer); apply(eval, pop);