Subject | Hash | Author | Date (UTC) |
---|---|---|---|
running test | 08bdfaabe6111f35074dc1af59197fcc3af7ae3c | Ubuntu | 2020-03-30 02:23:19 |
building | 249893d05180fa7cd770c22cef1714cc89c4318b | Ubuntu | 2020-03-30 02:17:05 |
cleanup | 8750a7302fd91be1b984857bbdcd284470545ba2 | Ubuntu | 2020-03-30 01:16:21 |
project and common option | 58a8a91e410978a52592952951bb6b24fe76964a | Ubuntu | 2020-03-30 01:12:45 |
use minimist | 16d617198ccd8304ab324fc3989d60bb97177cca | Ubuntu | 2020-03-30 01:09:25 |
works with clang++ and g++ (on circuit) | 8802dd772799132ab0c6502c1e079bc44365ad3e | Ubuntu | 2020-03-30 01:03:14 |
cleanup | 45c9d366a75cbff5930fe51189140210835a6337 | Ubuntu | 2020-03-30 00:26:01 |
example works | 8ed5b07157cd0b49b147939ba7a99f339a9c2d0f | Ubuntu | 2020-03-29 16:45:36 |
filtering out header files | 22bafc763385d5b5759b924ac07f2474b4692e8b | Ubuntu | 2020-03-29 12:22:40 |
Revert "just include source" | 3d420145117a1ea5404972165dca26ca0135f70e | Ubuntu | 2020-03-29 12:04:38 |
just include source | 9d18479598ad88e5bae0d0a8e8bfe0009b47d5cf | Ubuntu | 2020-03-29 05:19:00 |
assert | 6ba991dbb9b5606355f73c71fca85d80bd169bf9 | Ubuntu | 2020-03-29 04:59:45 |
cleanup | f5cbde963e841bf63f51cc28ec389b6580345ed3 | Ubuntu | 2020-03-29 04:42:07 |
deepmerge | aee7de1ccef07d1162231fad345a1dc1513452fb | Ubuntu | 2020-03-29 04:39:34 |
init | e6d74419d4aaaa415732b596065b2f5cd67d66ef | Ubuntu | 2020-03-28 22:44:10 |
File | Lines added | Lines deleted |
---|---|---|
index.js | 8 | 5 |
File index.js changed (mode: 100755) (index 37c2bc2..7405b93) | |||
... | ... | readDef(defPath) | |
17 | 17 | } | } |
18 | 18 | if (argv.test || argv.t) { | if (argv.test || argv.t) { |
19 | 19 | let compiler = argv.clang || argv.llvm ? "clang++" : "g++"; | let compiler = argv.clang || argv.llvm ? "clang++" : "g++"; |
20 | tmp.dir((err, path) => { | ||
20 | tmp.dir((err, tmpDir) => { | ||
21 | 21 | if (err) throw err; | if (err) throw err; |
22 | console.log( 'test directory:', path ); | ||
23 | |||
24 | result = `${compiler} ${result} -DTARGET_TEST=1 -o ${path}/test`; | ||
25 | console.log(result); | ||
22 | const execFile = path.join(tmpDir, 'test'); | ||
23 | console.log( 'test directory:', tmpDir ); | ||
24 | result = `${compiler} ${result} -DTARGET_TEST=1 -o ${execFile}`; | ||
25 | if (argv.verbose || argv.v) { | ||
26 | console.log(result); | ||
27 | } | ||
26 | 28 | shell.exec(result); | shell.exec(result); |
29 | shell.exec(`${execFile}`); | ||
27 | 30 | }); | }); |
28 | 31 | } | } |
29 | 32 | }); | }); |