Add unittest accepted/tizen_rust tizen accepted/tizen/rust/20231016.020937
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 2 May 2023 01:09:51 +0000 (10:09 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 2 May 2023 01:09:51 +0000 (10:09 +0900)
commit3ae11b4f730522d34e668ee930502fbcfc1fe052
tree777bff4844b504999f63ab599198e5a6232b50c2
parentf27123866bfe98a3c7a565ed4975a1288939a19a
Add unittest

[   34s] + ./cexpr
[   34s]
[   34s] running 6 tests
[   34s] test int_signed ... FAILED
[   34s] test chars ... FAILED
[   34s] test fail ... FAILED
[   34s] test floats ... FAILED
[   34s] test int_unsigned ... FAILED
[   34s] test strings ... FAILED
[   34s]
[   34s] failures:
[   34s]
[   34s] ---- int_signed stdout ----
[   34s] thread 'int_signed' panicked at 'Once instance has previously been poisoned', ./tests/clang.rs:317:15
[   34s]
[   34s] ---- chars stdout ----
[   34s] thread 'chars' panicked at 'a `libclang` shared library is not loaded on this thread', ./src/lib.rs:1735:1
[   34s] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[   34s]
[   34s] ---- fail stdout ----
[   34s] thread 'fail' panicked at 'Once instance has previously been poisoned', ./tests/clang.rs:317:15
[   34s]
[   34s] ---- floats stdout ----
[   34s] thread 'floats' panicked at 'Once instance has previously been poisoned', ./tests/clang.rs:317:15
[   34s]
[   34s] ---- int_unsigned stdout ----
[   34s] thread 'int_unsigned' panicked at 'Once instance has previously been poisoned', ./tests/clang.rs:317:15
[   34s]
[   34s] ---- strings stdout ----
[   34s] thread 'strings' panicked at 'Once instance has previously been poisoned', ./tests/clang.rs:317:15
[   34s]
[   34s]
[   34s] failures:
[   34s]     chars
[   34s]     fail
[   34s]     floats
[   34s]     int_signed
[   34s]     int_unsigned
[   34s]     strings
[   34s]
[   34s] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
packaging/rust-cexpr.spec