|
import lit
|
|
|
|
preamble_commands = [
|
|
'echo "THIS WAS"',
|
|
'echo "INJECTED"'
|
|
]
|
|
|
|
config.name = 'shtest-inject'
|
|
config.suffixes = ['.txt']
|
|
config.test_format = lit.formats.ShTest(preamble_commands=preamble_commands)
|
|
config.test_source_root = None
|
|
config.test_exec_root = None
|