[CN-Seq-Test] running seq_test --with-static-check causes duplicate symbol errors · Issue #879 · rems-project/cerberus · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ethanchou@Ethans-MacBook-Air-70 tests % cn seq_test runway.pass.c --output-dir=test --num-samples=10 --with-static-hack
runway.pass.c:2:1: warning: Static function 'c_INACTIVE' could not be tested.
Try again with '--with-static-hack'
static int c_INACTIVE() { return 0; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
runway.pass.c:4:1: warning: Static function 'c_ACTIVE' could not be tested.
Try again with '--with-static-hack'
static int c_ACTIVE() { return 1; }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
duplicate symbol '_default_struct_a_1466_record' in:
/Users/ethanchou/Desktop/research/tests/test/cn.o
/Users/ethanchou/Desktop/research/tests/test/runway.pass_test.o
duplicate symbol '_cn_map_get_struct_a_1466_record' in:
/Users/ethanchou/Desktop/research/tests/test/cn.o
/Users/ethanchou/Desktop/research/tests/test/runway.pass_test.o
duplicate symbol '_cn_map_get_struct_State_cn' in:
/Users/ethanchou/Desktop/research/tests/test/cn.o
/Users/ethanchou/Desktop/research/tests/test/runway.pass_test.o
duplicate symbol '_convert_to_struct_State_cn' in:
/Users/ethanchou/Desktop/research/tests/test/cn.o
/Users/ethanchou/Desktop/research/tests/test/runway.pass_test.o
duplicate symbol '_depart' in:
/Users/ethanchou/Desktop/research/tests/test/runway.pass_test.o
/Users/ethanchou/Desktop/research/tests/test/runway.pass-exec.o
...
Since functions_under_test uses the spec test generation config and not the seq test generation config, the warnings are also triggered despite using --with-static-hack. May have to duplicate the functions_under_test code to use the seq test generation config or add an argument to select the config to use.
The text was updated successfully, but these errors were encountered:
ZippeyKeys12
changed the title
[CN] running seq_test --with-static-check causes duplicate symbol errors
[CN-Seq-Test] running seq_test --with-static-check causes duplicate symbol errors
Feb 18, 2025
Since
functions_under_test
uses the spec test generation config and not the seq test generation config, the warnings are also triggered despite using --with-static-hack. May have to duplicate thefunctions_under_test
code to use the seq test generation config or add an argument to select the config to use.The text was updated successfully, but these errors were encountered: