diff --git a/ACTK1_0/session/SessionTest.cpp b/ACTK1_0/session/SessionTest.cpp
index 6611cda..eaef065 100644
--- a/ACTK1_0/session/SessionTest.cpp
+++ b/ACTK1_0/session/SessionTest.cpp
@@ -15,10 +15,14 @@ using namespace std;
static std::string TEST_SE =
"";
+extern static int tkScenario;
void doWork()
{
+ if (!tkScenario)
init("etc/toolkit2.conf");
+ else
+ scenario(tkScenario);
{
TestEnvironment props;
auto_ptr sess(SessionFactory::newInstance(&props));
@@ -75,6 +79,8 @@ void doWork()
int main(int argc, char* argv[])
{
+ if (argc > 1)
+ tkScenario = atoi(argv[1]);
TEST_run(doWork);
return TEST_errorCount();
}