summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xFor Weekly Test/tricode/gsmselftest-website2.py8
-rwxr-xr-xFor Weekly Test/tricode/mutexTry.php33
-rw-r--r--notFinishedCode/Report/Tri-report.docbin33792 -> 38400 bytes
3 files changed, 35 insertions, 6 deletions
diff --git a/For Weekly Test/tricode/gsmselftest-website2.py b/For Weekly Test/tricode/gsmselftest-website2.py
index 46e7f93..928275e 100755
--- a/For Weekly Test/tricode/gsmselftest-website2.py
+++ b/For Weekly Test/tricode/gsmselftest-website2.py
@@ -165,9 +165,11 @@ def regularTest():
sendResultWebsite(messages)
print messages
sleep(0.25)
- #for message in finalResult:
- # sendResultWebsite(message)
- # sleep(0.25)
+ for result in finalResult:
+
+ message = '|' + str(result[0]) + '|' + str(0) + '|' + str(result[1])+ '|' + str(0)
+ sendResultWebsite(message)
+ sleep(0.25)
sendFinishMessage()
initTrueTable(regulartest.smartResultList)
diff --git a/For Weekly Test/tricode/mutexTry.php b/For Weekly Test/tricode/mutexTry.php
index e6d4088..c206c8d 100755
--- a/For Weekly Test/tricode/mutexTry.php
+++ b/For Weekly Test/tricode/mutexTry.php
@@ -154,18 +154,45 @@ if ($locking == '1') //1 means nobody is on the website
if($testStatus == '200')
{
$SIP = 1;
- echo 'SIP set to 1';
}
}
if($callFrom == 'GSMRZ1' || $callTo == 'GSMRZ1')
{
if($testStatus == '200')
{
- echo 'GSMRZ1 set to 1';
$GSMRZ1 = 1;
}
}
-
+ if($callFrom == 'NANOBTS2')
+ {
+ if($testStatus == 'TRUE')
+ {
+ $GSMRZ2 = 1;
+ $NANOBTS1P = 1;
+ }
+ }
+ if($callFrom == 'NANOBTS3')
+ {
+ if($testStatus == 'TRUE')
+ {
+ $GSMRZ3 = 1;
+ $NANOBTS2P = 1;
+ }
+ }
+ if($callFrom == 'OPENBSC')
+ {
+ if($testStatus == 'TRUE')
+ {
+ echo 'open BSC working'
+ }
+ }
+ if($callFrom == 'ASTERISKSERVER')
+ {
+ if($testStatus == 'TRUE')
+ {
+ $SIPP = 1;
+ }
+ }
//END OF TEST CASE EXAMPLE
echo '<tr>
<th scope = "row" id = "r100">'. $dataForTable[1] . '</th>
diff --git a/notFinishedCode/Report/Tri-report.doc b/notFinishedCode/Report/Tri-report.doc
index 95862ba..21032af 100644
--- a/notFinishedCode/Report/Tri-report.doc
+++ b/notFinishedCode/Report/Tri-report.doc
Binary files differ