diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-23 19:24:15 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-23 19:24:15 -0700 |
commit | 2a6ae24ba769892993ec7a173c564f59feb06495 (patch) | |
tree | ba08a86b4423dd013a047719f6352fcbdb218478 /02-usart/src/kern/gpio/gpio_manager.c | |
parent | ca6957820c5dd156e313161b75f37afc85a57b1d (diff) | |
download | stm32l4-2a6ae24ba769892993ec7a173c564f59feb06495.tar.gz stm32l4-2a6ae24ba769892993ec7a173c564f59feb06495.tar.bz2 stm32l4-2a6ae24ba769892993ec7a173c564f59feb06495.zip |
Update the testing harness to insulate tests in --nofork mode.
Before, when running a test binary in --nofork mode, it was up to the
test to reset the program state before exiting to avoid dependencies on
other tests. Now after each test the test harness will:
1. Wipeout the fake environmennt.
2. Reset the data segment to its initialization state.
This achieves reasonable insulation between tests even though certain
things (like a segfault) are stil not practical to completely insulate
without fork()'ing.
Diffstat (limited to '02-usart/src/kern/gpio/gpio_manager.c')
0 files changed, 0 insertions, 0 deletions