diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-29 22:38:55 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-29 22:38:55 +0300 |
commit | 33153c6816c65c96a083c6f5b5e85418c444f929 (patch) | |
tree | d48dff79ef36668b50a5f912aa98a75cce1ed823 /tests/load/driver.cxx | |
parent | bb4daf280cbae9f37a44d3b8893a3b933134cddc (diff) |
Add support for src-url and doc-url package manifest values
Diffstat (limited to 'tests/load/driver.cxx')
-rw-r--r-- | tests/load/driver.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 2c8f4b6..79a7989 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -511,6 +511,10 @@ main (int argc, char* argv[]) "MATLAB.\n\nUseful for conversion of research code into " "production environments."); assert (fpv5->url == "http://www.example.com/foo/"); + assert (fpv5->doc_url && *fpv5->doc_url == + "http://www.example.org/projects/libfoo/man.xhtml"); + assert (fpv5->src_url && + *fpv5->src_url == "https://git.example.org/cgit/libfoo/tree/"); assert (fpv5->package_url && *fpv5->package_url == "http://www.example.com/foo/pack"); assert (fpv5->email == "foo-users@example.com"); @@ -602,7 +606,7 @@ main (int argc, char* argv[]) assert (check_location (fpv5)); assert (fpv5->sha256sum && *fpv5->sha256sum == - "6bf9de8c4647a32dee79ad5e787c10311495e3f6b5727bfd03b2d9dcd6a16eed"); + "2d912d510b42b1fa04028b0c6a31158ec14b225431b9c2ac0c953d46a7304225"); // Verify libexp package version. // @@ -648,8 +652,8 @@ main (int argc, char* argv[]) assert ( epv->build_constraints == build_constraints ({ - build_constraint (false, "linux*", nullopt, ""), - build_constraint (true, "*", nullopt, "Only supported on Linux.")})); + build_constraint (true, "*", nullopt, "Only supported on Linux."), + build_constraint (false, "linux*", nullopt, "")})); assert (check_location (epv)); assert (epv->sha256sum && *epv->sha256sum == |