|
902 | 902 | %{targets} |
903 | 903 | (run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:git.test} %{read-lines:testing-env})))) |
904 | 904 |
|
| 905 | +(rule |
| 906 | + (alias reftest-hooks-variables) |
| 907 | + (enabled_if (and (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 908 | + (action |
| 909 | + (diff hooks-variables.test hooks-variables.out))) |
| 910 | + |
| 911 | +(alias |
| 912 | + (name reftest) |
| 913 | + (enabled_if (and (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 914 | + (deps (alias reftest-hooks-variables))) |
| 915 | + |
| 916 | +(rule |
| 917 | + (targets hooks-variables.out) |
| 918 | + (deps root-N0REP0) |
| 919 | + (enabled_if (and (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 920 | + (package opam) |
| 921 | + (action |
| 922 | + (with-stdout-to |
| 923 | + %{targets} |
| 924 | + (run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:hooks-variables.test} %{read-lines:testing-env})))) |
| 925 | + |
| 926 | +(rule |
| 927 | + (alias reftest-hooks-variables.unix) |
| 928 | + (enabled_if (and (= %{os_type} "Unix") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 929 | + (action |
| 930 | + (diff hooks-variables.unix.test hooks-variables.unix.out))) |
| 931 | + |
| 932 | +(alias |
| 933 | + (name reftest) |
| 934 | + (enabled_if (and (= %{os_type} "Unix") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 935 | + (deps (alias reftest-hooks-variables.unix))) |
| 936 | + |
| 937 | +(rule |
| 938 | + (targets hooks-variables.unix.out) |
| 939 | + (deps root-N0REP0) |
| 940 | + (enabled_if (and (= %{os_type} "Unix") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 941 | + (package opam) |
| 942 | + (action |
| 943 | + (with-stdout-to |
| 944 | + %{targets} |
| 945 | + (run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:hooks-variables.unix.test} %{read-lines:testing-env})))) |
| 946 | + |
| 947 | +(rule |
| 948 | + (alias reftest-hooks-variables.win32) |
| 949 | + (enabled_if (and (= %{os_type} "Win32") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 950 | + (action |
| 951 | + (diff hooks-variables.win32.test hooks-variables.win32.out))) |
| 952 | + |
| 953 | +(alias |
| 954 | + (name reftest) |
| 955 | + (enabled_if (and (= %{os_type} "Win32") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 956 | + (deps (alias reftest-hooks-variables.win32))) |
| 957 | + |
| 958 | +(rule |
| 959 | + (targets hooks-variables.win32.out) |
| 960 | + (deps root-N0REP0) |
| 961 | + (enabled_if (and (= %{os_type} "Win32") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
| 962 | + (package opam) |
| 963 | + (action |
| 964 | + (with-stdout-to |
| 965 | + %{targets} |
| 966 | + (run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:hooks-variables.win32.test} %{read-lines:testing-env})))) |
| 967 | + |
905 | 968 | (rule |
906 | 969 | (alias reftest-init-ocaml-eval-variables.unix) |
907 | 970 | (enabled_if (and (= %{os_type} "Unix") (or (<> %{env:TESTALL=1} 0) (= %{env:TESTN0REP0=0} 1)))) |
|
0 commit comments