[med-svn] [Git][med-team/tao-config][master] Patch to fix the pathing for the test data of schema source

Shayan Doust gitlab at salsa.debian.org
Mon Jul 13 13:04:07 BST 2020



Shayan Doust pushed to branch master at Debian Med / tao-config


Commits:
ca7fd0ce by Shayan Doust at 2020-07-13T13:03:43+01:00
Patch to fix the pathing for the test data of schema source

- - - - -


2 changed files:

- + debian/patches/fix_schema_path.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix_schema_path.patch
=====================================
@@ -0,0 +1,18 @@
+Description: fix test data path in schema test source
+Author: Shayan Doust <hello at shayandoust.me> 
+Last-Update: 2020-07-13
+---
+
+--- tao-config.orig/src/test/config/schema.cpp
++++ tao-config/src/test/config/schema.cpp
+@@ -6,8 +6,8 @@
+ 
+ int main()
+ {
+-   const auto tcs = tao::config::schema::from_file( "tests/schema.tcs" );
+-   const auto data = tao::config::from_file( "tests/schema.jaxn" );
++   const auto tcs = tao::config::schema::from_file( "../../../../tests/schema.tcs" );
++   const auto data = tao::config::from_file( "../../../../tests/schema.jaxn" );
+    const auto error = tcs.validate( data );
+ 
+    if( error ) {


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
+fix_schema_path.patch
 modify_makefile.patch



View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/ca7fd0ced11a3d8cfc5475d3bed1ec4c313cb560

-- 
View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/ca7fd0ced11a3d8cfc5475d3bed1ec4c313cb560
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200713/67f4671c/attachment.html>


More information about the debian-med-commit mailing list