Skip to content

Commit

Permalink
Update tests for the new C macro warnings
Browse files Browse the repository at this point in the history
Add mission CAML_NAME_SPACE in tests/output-complete-obj

Remove tests/compatibility, whose purpose is to test the old short names,
which triggers the new warnings, which fails the test.
  • Loading branch information
xavierleroy committed Oct 6, 2021
1 parent 9bf281c commit d01e5e8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 37 deletions.
16 changes: 0 additions & 16 deletions testsuite/tests/compatibility/main.ml

This file was deleted.

1 change: 0 additions & 1 deletion testsuite/tests/compatibility/main.reference

This file was deleted.

20 changes: 0 additions & 20 deletions testsuite/tests/compatibility/stub.c

This file was deleted.

1 change: 1 addition & 0 deletions testsuite/tests/output-complete-obj/test.ml_stub.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define CAML_NAME_SPACE
#define CAML_INTERNALS
#include <caml/mlvalues.h>
#include <caml/alloc.h>
Expand Down

0 comments on commit d01e5e8

Please sign in to comment.