This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
10
unikernel/duniverse/ppxlib/test/driver/flag_cookie/run.t
Normal file
10
unikernel/duniverse/ppxlib/test/driver/flag_cookie/run.t
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
The cookie flag is taken into account, both by the main standalone
|
||||
|
||||
$ echo "[@@@print_cookie_x]" > impl.ml
|
||||
$ ./print_cookie_driver.exe -cookie x=1 impl.ml
|
||||
Value of cookie x: 1
|
||||
|
||||
...and by the `-as-ppx` standalone
|
||||
|
||||
$ ocaml -ppx './print_cookie_driver.exe --as-ppx -cookie x=1' impl.ml
|
||||
Value of cookie x: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue