I am starting with using SystemC, and studying example mentioned in Using existing unit test frameworks with SystemC
I do not really understand why forking is required, especially when one fork only waits the other. Is there something in the kernel that needs such multi-threading (especially the event handling)? (in other words: do I need this type of handling ONLY when I need concurrent testing, or also in the more simple cases)
Another question that in the linked answer I see the logo at the beginning
SystemC 2.2.0 --- Feb 24 2011 15:01:50
Copyright (c) 1996-2006 by all Contributors
ALL RIGHTS RESERVED
Running main() from gtest_main.cc
while in my case the logo is at the end of the output
Running main() from gtest_main.cc
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (0 ms total)
[ PASSED ] 0 tests.
Hello World.
SystemC 2.3.1-Accellera --- Mar 28 2017 21:08:36
Copyright (c) 1996-2014 by all Contributors,
ALL RIGHTS RESERVED
It is just because of the different versions, or it is an expected timely behavior?