parent
fa2afd60df
commit
4dd9d7413d
@ -1,173 +0,0 @@
|
|||||||
commit fb5ea7a3554d0cbd0e287b27b9c0b5c06b5c0388
|
|
||||||
Author: Dan Horák <dan@danny.cz>
|
|
||||||
Date: Fri Aug 26 14:59:09 2016 +0200
|
|
||||||
|
|
||||||
add missing big endian baselines
|
|
||||||
|
|
||||||
diff --git a/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.1.trans_base b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.1.trans_base
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..fddf8f8
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.1.trans_base
|
|
||||||
@@ -0,0 +1,33 @@
|
|
||||||
+Parse successful
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>d5c902a7</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>d2207316</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+The data:
|
|
||||||
+{ {99.999, 99.999, 99.999, 99.999, 99.999}, {"Silly test string: 1", "Silly test string: 1", "Silly test string: 1", "Silly test string: 1", "Silly test string: 1"} }
|
|
||||||
diff --git a/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.2.trans_base b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.2.trans_base
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..90e228f
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.2.trans_base
|
|
||||||
@@ -0,0 +1,27 @@
|
|
||||||
+Parse successful
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="2"/>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>55708e52</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+The data:
|
|
||||||
+{ {"Silly test string: 1", "Silly test string: 1"} }
|
|
||||||
diff --git a/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.3.trans_base b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.3.trans_base
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..80ade42
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.3.trans_base
|
|
||||||
@@ -0,0 +1,25 @@
|
|
||||||
+Parse successful
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim size="2"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>55708e52</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+The data:
|
|
||||||
+{ {"Silly test string: 1", "Silly test string: 1"} }
|
|
||||||
diff --git a/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.4.trans_base b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.4.trans_base
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..80ade42
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.4.trans_base
|
|
||||||
@@ -0,0 +1,25 @@
|
|
||||||
+Parse successful
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim size="2"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>55708e52</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+The data:
|
|
||||||
+{ {"Silly test string: 1", "Silly test string: 1"} }
|
|
||||||
diff --git a/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.5.trans_base b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.5.trans_base
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..8943261
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/tests/dmr-testsuite/big-endian/test_array_3.1.dmr.5.trans_base
|
|
||||||
@@ -0,0 +1,27 @@
|
|
||||||
+Parse successful
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <Float32 name="row">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ </Float32>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
||||||
+<Dataset xmlns="http://xml.opendap.org/ns/DAP/4.0#" xml:base="file:dap4/test_array_3.xml" dapVersion="4.0" dmrVersion="1.0" name="test_array_3">
|
|
||||||
+ <Dimension name="row" size="5"/>
|
|
||||||
+ <String name="x">
|
|
||||||
+ <Dim name="/row"/>
|
|
||||||
+ <Attribute name="DAP4_Checksum_CRC32" type="String">
|
|
||||||
+ <Value>d2207316</Value>
|
|
||||||
+ </Attribute>
|
|
||||||
+ <Map name="/row"/>
|
|
||||||
+ </String>
|
|
||||||
+</Dataset>
|
|
||||||
+
|
|
||||||
+The data:
|
|
||||||
+{ {"Silly test string: 1", "Silly test string: 1", "Silly test string: 1", "Silly test string: 1", "Silly test string: 1"} }
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up libdap-3.18.1/unit-tests/D4FilterClauseTest.cc.getopt libdap-3.18.1/unit-tests/D4FilterClauseTest.cc
|
|
||||||
--- libdap-3.18.1/unit-tests/D4FilterClauseTest.cc.getopt 2016-05-05 17:43:15.000000000 -0600
|
|
||||||
+++ libdap-3.18.1/unit-tests/D4FilterClauseTest.cc 2016-08-12 14:00:24.398185600 -0600
|
|
||||||
@@ -566,7 +566,7 @@ int main(int argc, char*argv[]) {
|
|
||||||
runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
|
|
||||||
|
|
||||||
GetOpt getopt(argc, argv, "d");
|
|
||||||
- char option_char;
|
|
||||||
+ int option_char;
|
|
||||||
|
|
||||||
while ((option_char = getopt()) != EOF)
|
|
||||||
switch (option_char) {
|
|
Loading…
Reference in new issue