summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/FT_App.mpc
blob: 4864a0acb3c16c86ed330dae83b4aed7a965e3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// $Id$

project(*idl): taoidldefaults, orbsvcslib {
  IDL_Files {
    FT_TestReplica.idl
  }
  custom_only = 1
}

project(*Server): taoserver, fault_tolerance, orbsvcsexe, minimum_corba {
  exename = ft_replica
  after += *idl
  Source_Files {
    FT_Replica.cpp
    FT_ReplicaFactory_i.cpp
    FT_TestReplica_i.cpp
    FT_TestReplicaS.cpp
    FT_TestReplicaC.cpp
  }
// Custom folder: test scripts
// too bad this doesn't work!
// If you omit the generic_outputext, it creates an empty folder
// if you include the generic_outputext, it tries to "build" the .pl
//    file which runs the test even when you don't want to.
//  Define_Custom(Script) {
//    inputext = .pl, .py, .rb
//    generic_outputext = .txt
//  }
//  Script_Files {
//    run_test_detector.pl
//  }

  Documentation_Files {
    README
    FT_App.mpc
    run_test_basic.pl           // can the client talk to the server
    run_test_detector.pl        // does a detector notice a server fault
    run_test_notifier.pl        // does the notification get to an analyzer
    run_test_fault_consumer.pl  // Is the notification analyzed correctly
    run_test_registry.pl        // does the stand-along factory registry work
    run_test_rmregistry.pl      // does the factory registry in the RM work
    run_test_replication_mgr.pl //
    run_test_demo.pl            // test it all together
  }

  IDL_Files {
  }
}

project(*Client): taoclient, fault_tolerance, orbsvcsexe, minimum_corba {
  exename = ft_client
  after += *idl
  Source_Files {
    FT_Client.cpp
    FT_TestReplicaC.cpp
  }
  Documentation_Files {
  }
  IDL_Files {
  }
}

project(*Notifier): taoserver, fault_tolerance, iormanip, orbsvcsexe, minimum_corba {
  exename = ft_notifier
  Source_Files {
    FTAPP_Notifier_Main.cpp
    StubFaultNotifier.cpp
  }

  // explicitly omit IDL and doc files
  IDL_Files {
  }
  Documentation_Files {
  }
}

project(*Analyzer): taoclient, fault_tolerance, notification_skel, orbsvcsexe {
  exename = ft_analyzer

  Source_Files {
    FTAPP_Analyzer_Main.cpp
    StubFaultAnalyzer.cpp
    StubFaultConsumer.cpp
    StubBatchConsumer.cpp
  }

  // explicitly omit IDL files
  IDL_Files {
  }
  Documentation_Files {
  }
}

project(*FaultConsumer): taoserver, fault_tolerance, notification_skel, orbsvcsexe, minimum_corba {
  exename = ft_fault_consumer
  libs    += TAO_ReplicationManagerLib
  after   += FT_ReplicationManager_Lib
  Source_Files {
    FTAPP_FaultConsumer_Main.cpp
    ReplicationManagerFaultConsumerAdapter.cpp
  }

  // explicitly omit IDL files
  IDL_Files {
  }
  Documentation_Files {
  }
}

project(*FactoryRegistry): taoclient, fault_tolerance, orbsvcsexe, minimum_corba {
  exename = ft_registry

  Source_Files {
    FTAPP_FactoryRegistry_Main.cpp
  }

  Header_Files {

  }
  // explicitly omit IDL files
  IDL_Files {
  }
  Documentation_Files {
  }
}

project(*Creator): taoclient, fault_tolerance, orbsvcsexe, minimum_corba {
  exename = ft_create

  Source_Files {
    FT_Creator.cpp
    TAO_Object_Group_Creator.cpp
  }

  // explicitly omit IDL files
  IDL_Files {
  }

  Documentation_Files {
  }
}

project(*RMController): taoclient, fault_tolerance, orbsvcsexe, minimum_corba {
  exename = replmgr_controller
  Source_Files {
    FT_ReplicationManagerController.cpp
  }
  // explicitly omit IDL files
  IDL_Files {
  }
  Documentation_Files {
  }
}