Skip to content
Snippets Groups Projects
Commit 378abd56 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Sort all tests.

Rename performance tests -> fit1a etc.
All performance tests run with -O2 in about 1s on 8core office PC
parent bed55478
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,6 @@ add_subdirectory(ftest) ...@@ -46,6 +46,6 @@ add_subdirectory(ftest)
# --- Additional tests to be activated when needed --- # --- Additional tests to be activated when needed ---
# performance tests # performance tests
# add_subdirectory(ptest) add_subdirectory(ptest)
# interactive readline test # interactive readline test
# add_subdirectory(readplus/test) # add_subdirectory(readplus/test)
...@@ -9,6 +9,7 @@ enable_testing() ...@@ -9,6 +9,7 @@ enable_testing()
# Just touch CMakeLists.txt each time a test is added or withdrawn. # Just touch CMakeLists.txt each time a test is added or withdrawn.
file(GLOB test_sources "*.f2t") file(GLOB test_sources "*.f2t")
list(SORT test_sources)
foreach(test_src ${test_sources}) foreach(test_src ${test_sources})
# remove directory path and suffix, to retain just the name of the test # remove directory path and suffix, to retain just the name of the test
......
...@@ -9,6 +9,7 @@ enable_testing() ...@@ -9,6 +9,7 @@ enable_testing()
# Just touch CMakeLists.txt each time a test is added or withdrawn. # Just touch CMakeLists.txt each time a test is added or withdrawn.
file(GLOB test_sources "*.f2t") file(GLOB test_sources "*.f2t")
list(SORT test_sources)
foreach(test_src ${test_sources}) foreach(test_src ${test_sources})
# remove directory path and suffix, to retain just the name of the test # remove directory path and suffix, to retain just the name of the test
......
#!/usr/bin/env frida #!/usr/bin/env frida
fm 310 710 h fm 82001 4 h
oy 100*(j+x^1.7) oy 100*(j+x^1.7)
ody! sqrt(1+y) ody! sqrt(1+y)
cc p0+p1*t+p2*t^2+p3*t^3 cc p0+p1*t+p2*t^2+p3*t^3+p4*t^4+p5*t^5
cf cf
exit(0) exit(0)
#!/usr/bin/env frida #!/usr/bin/env frida
fm 3100 71 h fm 410 710 h
oy 100*(j+x^1.7) oy 100*(j+x^1.7)
ody! sqrt(1+y) ody! sqrt(1+y)
cc p0+p1*t+p2*t^2+p3*t^3 cc p0+p1*t+p2*t^2+p3*t^3
......
#!/usr/bin/env frida #!/usr/bin/env frida
fm 3100 78 h fm 410 78 h
ox! i ox! i
oy! j+(1+j/10)*i+sin(3*i*j)/(i+j+1) oy! j+(1+j/10)*i+sin(3*i*j)/(i+j+1)
cc p0+p1*t cc p0+p1*t
......
...@@ -34,6 +34,7 @@ set(test_link_libs ...@@ -34,6 +34,7 @@ set(test_link_libs
# Just touch CMakeLists.txt each time a test is added or withdrawn. # Just touch CMakeLists.txt each time a test is added or withdrawn.
file(GLOB test_sources "test[0-9]*.cpp") file(GLOB test_sources "test[0-9]*.cpp")
list(SORT test_sources)
foreach(test_src ${test_sources}) foreach(test_src ${test_sources})
# remove directory path and suffix, to retain just the name of the test # remove directory path and suffix, to retain just the name of the test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment