fix version matching in FindPackage.cmake
[liba.git] / javascript / test / CMakeLists.txt
blob5421e4bc134dfd7dc28e820b9d65aa343891c4dd
1 function(unittest source name)
2   add_test(NAME js_${name}
3     COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_CURRENT_LIST_DIR}/${source}.js ${ARGN}
4   )
5   set_tests_properties(js_${name} PROPERTIES TIMEOUT 30)
6 endfunction()
8 unittest(a a)
10 unittest(mf mf)
12 unittest(crc crc)
14 unittest(hpf hpf)
16 unittest(lpf lpf)
18 unittest(pid pid)
20 unittest(pid_fuzzy pid_fuzzy)
22 unittest(pid_neuro pid_neuro)
24 unittest(tf tf)
26 unittest(trajbell trajbell)
28 unittest(trajpoly3 trajpoly3)
30 unittest(trajpoly5 trajpoly5)
32 unittest(trajpoly7 trajpoly7)
34 unittest(trajtrap trajtrap)
36 unittest(version version)