README.md
1Thrift D Software Library
2=========================
3
4License
5-------
6
7Licensed to the Apache Software Foundation (ASF) under one
8or more contributor license agreements. See the NOTICE file
9distributed with this work for additional information
10regarding copyright ownership. The ASF licenses this file
11to you under the Apache License, Version 2.0 (the
12"License"); you may not use this file except in compliance
13with the License. You may obtain a copy of the License at
14
15 http://www.apache.org/licenses/LICENSE-2.0
16
17Unless required by applicable law or agreed to in writing,
18software distributed under the License is distributed on an
19"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20KIND, either express or implied. See the License for the
21specific language governing permissions and limitations
22under the License.
23
24Testing
25-------
26
27D support in Thrift is covered by two sets of tests: first,
28the unit test blocks contained in the D source files, and
29second, the more extensive testing applications in the test/
30subdirectory, which also make use of the Thrift compiler.
31Both are built when running "make check", but only the
32unit tests are immediately run, however – the separate test
33cases typically run longer or require manual intervention.
34It might also be prudent to run the independent tests,
35which typically consist of a server and a client part,
36against the other language implementations.
37
38To build the unit tests on Windows, the easiest way might
39be to manually create a file containing an empty main() and
40invoke the compiler by running the following in the src/
41directory (PowerShell syntax):
42
43dmd -ofunittest -unittest -w $(dir -r -filter '*.d' -name)
44
45Async and SSL
46-------------
47Using SSL with async is experimental (always has been) and
48the unit test "async_test --ssl" hangs. Use at your own
49risk.
50