change sizeof(a_cast) to sizeof(void*)
[liba.git] / test / test.lua
blobff0fc763f88df17ec0261d27ee67b6227ec7c62d
1 local platform = require("bee.platform")
2 local subprocess = require("bee.subprocess")
3 local ext = platform.os == "windows" and ".exe" or ""
4 assert(subprocess.spawn({ "build/bin/a" .. ext })):wait()
5 assert(subprocess.spawn({ "build/bin/avl" .. ext })):wait()
6 assert(subprocess.spawn({ "build/bin/buf" .. ext })):wait()
7 assert(subprocess.spawn({ "build/bin/complex" .. ext })):wait()
8 assert(subprocess.spawn({ "build/bin/crc" .. ext })):wait()
9 assert(subprocess.spawn({ "build/bin/hpf" .. ext })):wait()
10 assert(subprocess.spawn({ "build/bin/list" .. ext })):wait()
11 assert(subprocess.spawn({ "build/bin/lpf" .. ext })):wait()
12 assert(subprocess.spawn({ "build/bin/math" .. ext })):wait()
13 assert(subprocess.spawn({ "build/bin/mf" .. ext })):wait()
14 assert(subprocess.spawn({ "build/bin/notefreqs" .. ext })):wait()
15 assert(subprocess.spawn({ "build/bin/operator" .. ext })):wait()
16 assert(subprocess.spawn({ "build/bin/pid" .. ext })):wait()
17 assert(subprocess.spawn({ "build/bin/pid_expert" .. ext })):wait()
18 assert(subprocess.spawn({ "build/bin/pid_fuzzy" .. ext })):wait()
19 assert(subprocess.spawn({ "build/bin/pid_neuro" .. ext })):wait()
20 assert(subprocess.spawn({ "build/bin/poly" .. ext })):wait()
21 assert(subprocess.spawn({ "build/bin/que" .. ext })):wait()
22 assert(subprocess.spawn({ "build/bin/rbt" .. ext })):wait()
23 assert(subprocess.spawn({ "build/bin/slist" .. ext })):wait()
24 assert(subprocess.spawn({ "build/bin/str" .. ext })):wait()
25 assert(subprocess.spawn({ "build/bin/test" .. ext })):wait()
26 assert(subprocess.spawn({ "build/bin/tf" .. ext })):wait()
27 assert(subprocess.spawn({ "build/bin/trajbell" .. ext })):wait()
28 assert(subprocess.spawn({ "build/bin/trajpoly3" .. ext })):wait()
29 assert(subprocess.spawn({ "build/bin/trajpoly5" .. ext })):wait()
30 assert(subprocess.spawn({ "build/bin/trajpoly7" .. ext })):wait()
31 assert(subprocess.spawn({ "build/bin/trajtrap" .. ext })):wait()
32 assert(subprocess.spawn({ "build/bin/utf" .. ext })):wait()
33 assert(subprocess.spawn({ "build/bin/vec" .. ext })):wait()
34 assert(subprocess.spawn({ "build/bin/version" .. ext })):wait()