blob: 1f29ee2cd1fcd2bf3c306a8b03a074c8a93f1c0b [file] [log] [blame]
Jens Geyer72034242013-05-08 18:46:57 +02001#!/bin/sh
2
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the
9# "License"); you may not use this file except in compliance
10# with the License. You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing,
15# software distributed under the License is distributed on an
16# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17# KIND, either express or implied. See the License for the
18# specific language governing permissions and limitations
19# under the License.
20#
21
22../../../../compiler/cpp/thrift --gen csharp ../../../../contrib/async-test/aggr.thrift
23../../../../compiler/cpp/thrift --gen csharp ../../../rb/benchmark/Benchmark.thrift
24gmcs /t:library /out:./ThriftImpl.dll /recurse:./gen-csharp/* /reference:../../Thrift.dll Multiplex.Test.Common.cs
Jens Geyerd5436f52014-10-03 19:50:38 +020025gmcs /out:MultiplexClient.exe /reference:../../Thrift.dll /reference:ThriftImpl.dll Client/Multiplex.Test.Client.cs
26gmcs /out:MultiplexServer.exe /reference:../../Thrift.dll /reference:ThriftImpl.dll Server/Multiplex.Test.Server.cs
Jens Geyer72034242013-05-08 18:46:57 +020027
28
29
30export MONO_PATH=../../
31
Jens Geyerd5436f52014-10-03 19:50:38 +020032timeout 120 ./MultiplexServer.exe &
Jens Geyer72034242013-05-08 18:46:57 +020033sleep 3;
34./MultiplexClient.exe