Skip to content

Commit

Permalink
clean before rebuilding and do not recompile main program in ex_ml_sy…
Browse files Browse the repository at this point in the history
…m_mangling
  • Loading branch information
aeflores committed Dec 8, 2023
1 parent 0c6a6b3 commit 3b025f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/ex_ml_sym_mangling/Makefile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ clean:
rm -f ex *.dll out.txt *.s *.lib *.exp *.o *.err *.obj *.exe

check:
$(CC) ex.c foo.lib baz.lib
@ ex > check.txt
@ FC out.txt check.txt && echo TEST OK

Expand Down
2 changes: 2 additions & 0 deletions tests/misc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,8 @@ def test_pe_function_symbol_selection(self):
"""
library = "baz.dll"
with cd(ex_dir / "ex_ml_sym_mangling"):
proc = subprocess.run(make("clean"), stdout=subprocess.DEVNULL)
self.assertEqual(proc.returncode, 0)
proc = subprocess.run(make("all"), stdout=subprocess.DEVNULL)
self.assertEqual(proc.returncode, 0)
for extra_args in ([], ["-F"]):
Expand Down

0 comments on commit 3b025f1

Please sign in to comment.