From 1ffe9fa27ee9829c16446a09aa5bd94bcc60ab68 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 14 May 2018 21:03:01 +0300 Subject: Add update, clean, and test commands tests --- tests/fetch.test | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tests/fetch.test') diff --git a/tests/fetch.test b/tests/fetch.test index ad0640e..7fec857 100644 --- a/tests/fetch.test +++ b/tests/fetch.test @@ -7,12 +7,13 @@ new += 2>! init += cc "config.cxx=$config.cxx" -d prj 2>! status += --all +deinit += -d prj : add-dependency : { $clone_prj; - $init -C prj-cfg @cfg &prj/build/bootstrap/*** &prj-cfg/***; + $init -C prj-cfg @cfg &prj-cfg/***; $new -t lib --vcs none libfoo &libfoo/*** 2>!; $new -t lib --vcs none libbar &libbar/*** 2>!; @@ -35,9 +36,15 @@ status += --all $status -d prj >'prj configured 0.1.0-a.0.19700101000000'; - $bpkg list --complements --prerequisites -d prj-cfg >>/"EOO" + $bpkg list --complements --prerequisites -d prj-cfg >>/"EOO"; dir:$~/prj $~/prj complement dir:$~/libbar $~/libbar prerequisite dir:$~/libfoo $~/libfoo EOO + + $deinit 2>>/"EOE" + deinitializing in project $~/prj/ + synchronizing: + drop prj + EOE } -- cgit v1.1