This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/bin/dune
vendored
Normal file
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/bin/dune
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(env
|
||||
(default
|
||||
(flags "in bin")
|
||||
(c_flags ())
|
||||
(cxx_flags ())))
|
||||
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/dune
vendored
Normal file
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/dune
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(env
|
||||
(default
|
||||
(flags :standard ":standard + in .")
|
||||
(c_flags ())
|
||||
(cxx_flags ())))
|
||||
1
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/dune-project
vendored
Normal file
1
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/dune-project
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
3
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/printenv.sh
vendored
Executable file
3
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/printenv.sh
vendored
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
dune printenv $@
|
||||
34
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/run.t
vendored
Normal file
34
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/run.t
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
$ alias dune_printenv='dune printenv --profile default --field flags'
|
||||
|
||||
$ dune_printenv .
|
||||
(flags
|
||||
(-w -40 ":standard + in ."))
|
||||
|
||||
$ dune_printenv src
|
||||
(flags
|
||||
(-w -40 ":standard + in ." ":standard + in src"))
|
||||
|
||||
$ dune_printenv bin
|
||||
(flags ("in bin"))
|
||||
|
||||
$ dune_printenv vendor
|
||||
(flags
|
||||
(-w -40 ":standard + in ."))
|
||||
|
||||
Vendored project without env customization, the global default should
|
||||
apply:
|
||||
|
||||
$ dune_printenv vendor/without-env-customization
|
||||
(flags
|
||||
(-w -40))
|
||||
|
||||
Vendored project with env customization, the global default +
|
||||
customization of vendored project should apply:
|
||||
|
||||
$ dune_printenv vendor/with-env-customization
|
||||
(flags
|
||||
(-w -40 ":standard + in vendor/with-env-customization"))
|
||||
|
||||
$ dune_printenv vendor/with-env-customization/src
|
||||
(flags ("in vendor/with-env-customization/src"))
|
||||
|
||||
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/src/dune
vendored
Normal file
5
unikernel/duniverse/dune_/test/blackbox-tests/test-cases/env/env-simple.t/src/dune
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(env
|
||||
(default
|
||||
(flags :standard ":standard + in src")
|
||||
(c_flags ())
|
||||
(cxx_flags ())))
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(env
|
||||
(default
|
||||
(flags :standard ":standard + in vendor/with-env-customization")
|
||||
(c_flags ())
|
||||
(cxx_flags ())))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(env
|
||||
(default
|
||||
(flags "in vendor/with-env-customization/src")))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.4)
|
||||
Loading…
Add table
Add a link
Reference in a new issue