Kill tabs dead! For good!

pull/3885/head
Jussi Pakkanen 6 years ago
parent d57498a4fd
commit b400cbe058
  1. 28
      run_project_tests.py
  2. 3
      test cases/common/124 test skip/test_skip.c
  3. 1
      test cases/common/126 llvm ir and assembly/square-x86.S

@ -636,10 +636,32 @@ def check_file(fname):
linenum += 1
def check_format():
check_suffixes = {'.c',
'.cpp',
'.cxx',
'.cc',
'.rs',
'.f90',
'.vala',
'.d',
'.s',
'.m',
'.mm',
'.asm',
'.java',
'.txt',
'.py',
'.swift',
'.build',
}
for (root, _, files) in os.walk('.'):
for file in files:
if file.endswith('.py') or file.endswith('.build') or file == 'meson_options.txt':
fullname = os.path.join(root, file)
if '.dub' in root: # external deps are here
continue
for fname in files:
if os.path.splitext(fname)[1].lower() in check_suffixes:
if os.path.split(fname)[1] == 'sitemap.txt':
continue
fullname = os.path.join(root, fname)
check_file(fullname)
def check_meson_commands_work():

@ -1,4 +1,3 @@
int main(int argc, char *argv[])
{
int main(int argc, char *argv[]) {
return 77;
}

@ -14,6 +14,7 @@ square_unsigned PROC var1:DWORD
mov eax, var1
imul eax, eax
ret
square_unsigned ENDP
_TEXT ENDS

Loading…
Cancel
Save