|
654 | 654 | (enabled_if (= %{context_name} "main"))
|
655 | 655 | (deps test_misplaced_attr.output test_misplaced_attr.output.corrected)
|
656 | 656 | (action (diff test_misplaced_attr.output test_misplaced_attr.output.corrected)))
|
| 657 | + |
| 658 | +(rule |
| 659 | + (enabled_if (= %{context_name} "main")) |
| 660 | + (targets test_attr_check.output.corrected) |
| 661 | + (deps (:ml test_attr_check.ml) filter.sh) |
| 662 | + (action |
| 663 | + (with-outputs-to test_attr_check.output.corrected |
| 664 | + (pipe-outputs |
| 665 | + (with-accepted-exit-codes 2 |
| 666 | + (run %{bin:ocamlopt.opt} %{ml} -g -color never -error-style short -c |
| 667 | + -zero-alloc-check all -checkmach-details-cutoff 20 -O3)) |
| 668 | + (run "./filter.sh") |
| 669 | + )))) |
| 670 | + |
| 671 | +(rule |
| 672 | + (alias runtest) |
| 673 | + (enabled_if (= %{context_name} "main")) |
| 674 | + (deps test_attr_check.output test_attr_check.output.corrected) |
| 675 | + (action (diff test_attr_check.output test_attr_check.output.corrected))) |
| 676 | + |
| 677 | +(rule |
| 678 | + (enabled_if (= %{context_name} "main")) |
| 679 | + (targets test_attr_check_all.output.corrected) |
| 680 | + (deps (:ml test_attr_check_all.ml) filter.sh) |
| 681 | + (action |
| 682 | + (with-outputs-to test_attr_check_all.output.corrected |
| 683 | + (pipe-outputs |
| 684 | + (with-accepted-exit-codes 2 |
| 685 | + (run %{bin:ocamlopt.opt} %{ml} -g -color never -error-style short -c |
| 686 | + -zero-alloc-check default -checkmach-details-cutoff 20 -O3)) |
| 687 | + (run "./filter.sh") |
| 688 | + )))) |
| 689 | + |
| 690 | +(rule |
| 691 | + (alias runtest) |
| 692 | + (enabled_if (= %{context_name} "main")) |
| 693 | + (deps test_attr_check_all.output test_attr_check_all.output.corrected) |
| 694 | + (action (diff test_attr_check_all.output test_attr_check_all.output.corrected))) |
| 695 | + |
| 696 | +(rule |
| 697 | + (enabled_if (= %{context_name} "main")) |
| 698 | + (targets test_attr_check_opt.output.corrected) |
| 699 | + (deps (:ml test_attr_check_opt.ml) filter.sh) |
| 700 | + (action |
| 701 | + (with-outputs-to test_attr_check_opt.output.corrected |
| 702 | + (pipe-outputs |
| 703 | + (with-accepted-exit-codes 2 |
| 704 | + (run %{bin:ocamlopt.opt} %{ml} -g -color never -error-style short -c |
| 705 | + -zero-alloc-check default -checkmach-details-cutoff 20 -O3)) |
| 706 | + (run "./filter.sh") |
| 707 | + )))) |
| 708 | + |
| 709 | +(rule |
| 710 | + (alias runtest) |
| 711 | + (enabled_if (= %{context_name} "main")) |
| 712 | + (deps test_attr_check_opt.output test_attr_check_opt.output.corrected) |
| 713 | + (action (diff test_attr_check_opt.output test_attr_check_opt.output.corrected))) |
| 714 | + |
| 715 | +(rule |
| 716 | + (enabled_if (= %{context_name} "main")) |
| 717 | + (targets test_attr_check_none.output.corrected) |
| 718 | + (deps (:ml test_attr_check_none.ml) filter.sh) |
| 719 | + (action |
| 720 | + (with-outputs-to test_attr_check_none.output.corrected |
| 721 | + (pipe-outputs |
| 722 | + (with-accepted-exit-codes 0 |
| 723 | + (run %{bin:ocamlopt.opt} %{ml} -g -color never -error-style short -c |
| 724 | + -zero-alloc-check default -checkmach-details-cutoff 20 -O3)) |
| 725 | + (run "./filter.sh") |
| 726 | + )))) |
| 727 | + |
| 728 | +(rule |
| 729 | + (alias runtest) |
| 730 | + (enabled_if (= %{context_name} "main")) |
| 731 | + (deps test_attr_check_none.output test_attr_check_none.output.corrected) |
| 732 | + (action (diff test_attr_check_none.output test_attr_check_none.output.corrected))) |
0 commit comments