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