summaryrefslogtreecommitdiff
path: root/test/erl/src/thrift_test.app.src
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2014-08-05 19:54:57 -0700
committerRoger Meier <roger@apache.org>2014-08-07 02:41:29 +0200
commit06d0fa05a56880ff341d8cc8f5de0ed47cf61c2c (patch)
treeaf8399b19f21a99a405660c3f29da9978ef0ec2f /test/erl/src/thrift_test.app.src
parenta0b86741169b8ef0a1e663154db447517bd89b0b (diff)
downloadthrift-06d0fa05a56880ff341d8cc8f5de0ed47cf61c2c.tar.gz
THRIFT-2648 cleanup erlang lib
client: erlang patch: alisdair sullivan (alisdairsullivan@yahoo.ca) moves tests for the thrift compiler generation of files to /test/erl, properly removes artifacts from test suite runs, adds module listing to .app.src for better behaviour when using erlang tools like relx and rebar and modifies .gitignore to not ignore relevant erlang test components
Diffstat (limited to 'test/erl/src/thrift_test.app.src')
-rw-r--r--test/erl/src/thrift_test.app.src52
1 files changed, 52 insertions, 0 deletions
diff --git a/test/erl/src/thrift_test.app.src b/test/erl/src/thrift_test.app.src
new file mode 100644
index 000000000..dd0492670
--- /dev/null
+++ b/test/erl/src/thrift_test.app.src
@@ -0,0 +1,52 @@
+%%
+%% Licensed to the Apache Software Foundation (ASF) under one
+%% or more contributor license agreements. See the NOTICE file
+%% distributed with this work for additional information
+%% regarding copyright ownership. The ASF licenses this file
+%% to you under the Apache License, Version 2.0 (the
+%% "License"); you may not use this file except in compliance
+%% with the License. You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing,
+%% software distributed under the License is distributed on an
+%% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+%% KIND, either express or implied. See the License for the
+%% specific language governing permissions and limitations
+%% under the License.
+%%
+%%% -*- mode:erlang -*-
+{application, thrift_test, [
+ % A quick description of the application.
+ {description, "tests for thrift erlang compiler backend"},
+
+ % The version of the applicaton
+ {vsn, "1.0.0-dev"},
+
+ % All modules used by the application.
+ {modules, [
+ ]},
+
+ % All of the registered names the application uses. This can be ignored.
+ {registered, []},
+
+ % Applications that are to be started prior to this one. This can be ignored
+ % leave it alone unless you understand it well and let the .rel files in
+ % your release handle this.
+ {applications, [kernel, stdlib]},
+
+ % OTP application loader will load, but not start, included apps. Again
+ % this can be ignored as well. To load but not start an application it
+ % is easier to include it in the .rel file followed by the atom 'none'
+ {included_applications, []},
+
+ % configuration parameters similar to those in the config file specified
+ % on the command line. can be fetched with gas:get_env
+ {env, [
+ % If an error/crash occurs during processing of a function,
+ % should the TApplicationException serialized back to the client
+ % include the erlang backtrace?
+ {exceptions_include_traces, true}
+ ]}
+]}.