This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
224
unikernel/duniverse/ocaml-cstruct/ppx_test/errors/dune.inc
Normal file
224
unikernel/duniverse/ocaml-cstruct/ppx_test/errors/dune.inc
Normal file
|
|
@ -0,0 +1,224 @@
|
|||
|
||||
(rule
|
||||
(deps pp.exe (:input cenum_id_payload.ml))
|
||||
(targets cenum_id_payload.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cenum_id_payload.ml.expected cenum_id_payload.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cenum_invalid_type.ml))
|
||||
(targets cenum_invalid_type.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cenum_invalid_type.ml.expected cenum_invalid_type.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cenum_no_attribute.ml))
|
||||
(targets cenum_no_attribute.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cenum_no_attribute.ml.expected cenum_no_attribute.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cenum_not_a_variant.ml))
|
||||
(targets cenum_not_a_variant.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cenum_not_a_variant.ml.expected cenum_not_a_variant.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cenum_unknown_attribute.ml))
|
||||
(targets cenum_unknown_attribute.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cenum_unknown_attribute.ml.expected cenum_unknown_attribute.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_attribute_payload.ml))
|
||||
(targets cstruct_attribute_payload.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_attribute_payload.ml.expected cstruct_attribute_payload.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_duplicate_field.ml))
|
||||
(targets cstruct_duplicate_field.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_duplicate_field.ml.expected cstruct_duplicate_field.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_len_int32.ml))
|
||||
(targets cstruct_len_int32.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_len_int32.ml.expected cstruct_len_int32.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_len_not_int.ml))
|
||||
(targets cstruct_len_not_int.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_len_not_int.ml.expected cstruct_len_not_int.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_len_zero.ml))
|
||||
(targets cstruct_len_zero.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_len_zero.ml.expected cstruct_len_zero.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_multiple_len.ml))
|
||||
(targets cstruct_multiple_len.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_multiple_len.ml.expected cstruct_multiple_len.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_not_a_record.ml))
|
||||
(targets cstruct_not_a_record.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_not_a_record.ml.expected cstruct_not_a_record.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_not_an_identifier.ml))
|
||||
(targets cstruct_not_an_identifier.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_not_an_identifier.ml.expected cstruct_not_an_identifier.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_several_attributes.ml))
|
||||
(targets cstruct_several_attributes.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_several_attributes.ml.expected cstruct_several_attributes.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_unknown_endian.ml))
|
||||
(targets cstruct_unknown_endian.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_unknown_endian.ml.expected cstruct_unknown_endian.ml.errors)))
|
||||
|
||||
(rule
|
||||
(deps pp.exe (:input cstruct_unknown_type.ml))
|
||||
(targets cstruct_unknown_type.ml.errors)
|
||||
(action
|
||||
(progn
|
||||
(with-stderr-to %{targets}
|
||||
(run ./pp.exe -no-color --impl %{input}))
|
||||
(bash "sed -i.bak '1d' %{targets}"))))
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ppx_cstruct)
|
||||
(action
|
||||
(diff cstruct_unknown_type.ml.expected cstruct_unknown_type.ml.errors)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue