1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Import('rtconfig') from building import * cwd = GetCurrentDir() src = Glob('*.c') path = [cwd] if GetDepend(['UTEST_SERIAL_POSIX_TC']): src += Glob('posix/*.c') if GetDepend(['UTEST_SERIAL_QEMU_TC']): src += Glob('qemu/*.c') group = DefineGroup('utestcases', src, depend = ['UTEST_SERIAL_TC'], CPPPATH = path) Return('group')