diff options
Diffstat (limited to 'tests/fetch.test')
-rw-r--r-- | tests/fetch.test | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/tests/fetch.test b/tests/fetch.test deleted file mode 100644 index d97bf63..0000000 --- a/tests/fetch.test +++ /dev/null @@ -1,54 +0,0 @@ -# file : tests/fetch.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -.include common.test project.test - -cxx = cc config.cxx="$recall($cxx.path)" - -new += 2>! -init += $cxx -d prj 2>! -status += --all -d prj -deinit += -d prj - -: dependency -: -{ - $clone_prj; - $init -C @cfg &prj-cfg/***; - - $new -t lib libbar &libbar/*** 2>!; - $new -t lib libfoo &libfoo/*** 2>!; - - cat <<EOI >+prj/repositories.manifest; - : - role: prerequisite - location: ../libfoo - type: dir - : - role: complement - location: ../libbar - type: dir - EOI - - cat <<EOI >+prj/manifest; - depends: libfoo - depends: libbar - EOI - - $* 2>>/"EOE"; - fetching dir:$~/libbar \(complements dir:$~/prj\) - fetching dir:$~/libfoo \(prerequisite of dir:$~/prj\) - EOE - - $status libfoo libbar >>~%EOO%; - %libfoo available \[.+\]% - %libbar available .+% - EOO - - $deinit 2>>/"EOE" - deinitializing in project $~/prj/ - synchronizing: - drop prj - EOE -} |