Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only check ocamlobjinfo output when runtime5 is enabled #2761

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ocaml/testsuite/tests/tool-ocamlobjinfo/question.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
program = "-no-code question.cmx";
ocamlobjinfo;

runtime5;
check-program-output;
}{
program = "question.cmx";
Expand Down
10 changes: 5 additions & 5 deletions ocaml/testsuite/tests/tool-ocamlobjinfo/question.reference
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,27 @@ Original unit: Question
Typing env:
((defined_symbols_without_equations ())
(code_age_relation
{(camlQuestion__answer_0_1_code camlQuestion__answer_0_0_code)})
{(camlQuestion.answer_0_1_code camlQuestion.answer_0_0_code)})
(type_equations
{(Question.camlQuestion
(Val
(Variant
(blocks
((alloc_mode Heap) (known
{(tag_0 => (Known 1), ((Val (= Question.camlQuestion__answer_1))))})
{(tag_0 => (Known 1), ((Val (= Question.camlQuestion.answer_1))))})
(other Bottom))) (tagged_imms (Naked_immediate ⊥)))))
(Question.camlQuestion__answer_1
(Question.camlQuestion.answer_1
(Val
((alloc_mode Heap) (known
{((answer/0 ∷ 𝕍)
=> (Known ((closures { (answer/0 ∷ 𝕍) }) (value_slots { }))),
((function_types
{((answer/0 ∷ 𝕍)
(Ok (function_type (code_id camlQuestion__answer_0_1_code)
(Ok (function_type (code_id camlQuestion.answer_0_1_code)
(rec_info (Rec_info 0)))))})
(closure_types
((function_slot_components_by_index
{((answer/0 ∷ 𝕍) (Val (= Question.camlQuestion__answer_1)))})))
{((answer/0 ∷ 𝕍) (Val (= Question.camlQuestion.answer_1)))})))
(value_slot_types ((value_slot_components_by_index {})))))})
(other Bottom))))})
(aliases
Expand Down
Loading