unix/variants: Enable os.uname() in coverage build for tests.
In order to provide test coverage for the previous commit, `os.uname()` support is added to the unix coverage build. Signed-off-by: Yoctopuce dev <dev@yoctopuce.com>
This commit is contained in:
committed by
Damien George
parent
0d2c18c299
commit
52ca826880
@@ -44,3 +44,10 @@
|
||||
#undef MICROPY_VFS_ROM_IOCTL
|
||||
#define MICROPY_VFS_ROM_IOCTL (1)
|
||||
#define MICROPY_PY_CRYPTOLIB_CTR (1)
|
||||
|
||||
// Enable os.uname for attrtuple coverage test
|
||||
#define MICROPY_PY_OS_UNAME (1)
|
||||
#define MICROPY_HW_BOARD_NAME "a machine"
|
||||
#define MICROPY_HW_MCU_NAME MICROPY_PY_SYS_PLATFORM
|
||||
// Keep the standard banner message
|
||||
#define MICROPY_BANNER_MACHINE MICROPY_PY_SYS_PLATFORM " [" MICROPY_PLATFORM_COMPILER "] version"
|
||||
|
||||
Reference in New Issue
Block a user