The purpose of the "lib_static_init.cpp" is to make the counter of library object useful by create a static variable . if it is used the static variable plus 1
Reproduce steps
cd ~/ucore_plus/ucore
make ARCH=arm BOARD=goldfishv7 defconfig
make sfsimg
make kernel
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecslib_static_init.testspec
Description
The purpose of the "lib_static_init.cpp" is to make the counter of library object useful by create a static variable . if it is used the static variable plus 1
Reproduce steps
cd ~/ucore_plus/ucore make ARCH=arm BOARD=goldfishv7 defconfig make sfsimg make kernel ./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecslib_static_init.testspec
Current result
Expected Result
The test passes.