Configure with --enable-ocamltest on test_arches

This commit is contained in:
Jerry James 2023-10-12 12:34:40 -06:00
parent 2ec55e949b
commit ebbf4c122f

View File

@ -268,6 +268,11 @@ sed -i '/^EXTRACAMLFLAGS=/aLINKOPTS=-cclib -lm' otherlibs/unix/Makefile
%if 0%{?_include_frame_pointers}
--enable-frame-pointers \
%endif
%endif
%ifarch %{test_arches}
--enable-ocamltest \
%else
--disable-ocamltest \
%endif
OC_CFLAGS='%{build_cflags}' \
OC_LDFLAGS='%{build_ldflags}' \
@ -297,10 +302,6 @@ annocheck -v hello ||:
%endif
%ifarch %{test_arches}
make ocamltest
%ifarch %{ocaml_native_compiler}
make ocamltest.opt
%endif
%ifarch %{test_arches_required}
make -j1 tests
%else