[med-svn] r22352 - in trunk/packages/rostlab/libzerg/trunk/debian: . examples
Tatiana Malygina
latticetower-guest at moszumanska.debian.org
Mon Jul 4 16:31:32 UTC 2016
Author: latticetower-guest
Date: 2016-07-04 16:31:30 +0000 (Mon, 04 Jul 2016)
New Revision: 22352
Added:
trunk/packages/rostlab/libzerg/trunk/debian/README.test
trunk/packages/rostlab/libzerg/trunk/debian/libzerg0-dev.docs
Modified:
trunk/packages/rostlab/libzerg/trunk/debian/changelog
trunk/packages/rostlab/libzerg/trunk/debian/examples/example.cpp
Log:
add README.test, libzerg0-dev.docs, small fixes in debian/examples/example.cpp
Added: trunk/packages/rostlab/libzerg/trunk/debian/README.test
===================================================================
--- trunk/packages/rostlab/libzerg/trunk/debian/README.test (rev 0)
+++ trunk/packages/rostlab/libzerg/trunk/debian/README.test 2016-07-04 16:31:30 UTC (rev 22352)
@@ -0,0 +1,19 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by executing
+
+ sh installation-test
+
+in order to confirm its integrity.
+
+To test manually, compile /usr/share/doc/libzerg0-dev/examples/example.cpp:
+
+ g++ -Wall -lzerg example.cpp -o example
+
+After that unzip /usr/share/doc/libzerg0-dev/examples/converged.ali.gz to
+current folder and call
+
+ ./example converged.ali
+
+As a result, content of `converged.ali` should be printed to stdout.
Modified: trunk/packages/rostlab/libzerg/trunk/debian/changelog
===================================================================
--- trunk/packages/rostlab/libzerg/trunk/debian/changelog 2016-07-04 15:13:48 UTC (rev 22351)
+++ trunk/packages/rostlab/libzerg/trunk/debian/changelog 2016-07-04 16:31:30 UTC (rev 22352)
@@ -5,6 +5,8 @@
* add example files and libzerg0-dev.examples
* add testsuite
* mention example file debian/examples/converged.ali in debian/copyright
+ * add README.test for tests and save it to docs for libzerg0-dev,
+ small fixes in debian/examples/example.cpp
-- Tatiana Malygina <merlettaia at gmail.com> Sun, 26 Jun 2016 12:28:12 +0300
Modified: trunk/packages/rostlab/libzerg/trunk/debian/examples/example.cpp
===================================================================
--- trunk/packages/rostlab/libzerg/trunk/debian/examples/example.cpp 2016-07-04 15:13:48 UTC (rev 22351)
+++ trunk/packages/rostlab/libzerg/trunk/debian/examples/example.cpp 2016-07-04 16:31:30 UTC (rev 22352)
@@ -18,14 +18,14 @@
int code = 0;
char* value = new char[1024]();
- // I picked buffer size at a random -
+ // I picked buffer size at random -
// if you want to use libzerg in a real application, you probably should
// allocate more space.
while (zerg_get_token(&code, &value)) {
std::cout << "Parsed: " << code << ", value: " << value << std::endl;
}
- zerg_close_file();;
+ zerg_close_file();
return 0;
}
Added: trunk/packages/rostlab/libzerg/trunk/debian/libzerg0-dev.docs
===================================================================
--- trunk/packages/rostlab/libzerg/trunk/debian/libzerg0-dev.docs (rev 0)
+++ trunk/packages/rostlab/libzerg/trunk/debian/libzerg0-dev.docs 2016-07-04 16:31:30 UTC (rev 22352)
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/installation-test
More information about the debian-med-commit
mailing list