This commit splits the file extensions before determining the test
format. This allows libc++abi to add assembly-based test cases.
I don't think assembly based .pass and .fail tests will work quite yet. The CXXCompiler object used by the test format explicitly passes -xc++ %s in some cases.
I'm assuming you already have a libc++abi assembly test? Could you put it up for review?
Do you mean that it is preferred to revert following two lines back? For example:
is_sh_test = name_root.endswith('.sh') is_pass_test = name.endswith('.pass.cpp') is_fail_test = name.endswith('.fail.cpp') assert is_sh_test or name_ext == '.cpp'