Commit 3a8cc76a authored by Adrien Kirjak's avatar Adrien Kirjak
Browse files

Rewrote README-s and MAKEFILE-s with simplified cfg useage


Signed-off-by: default avatarAdrien Kirjak <adrien.kirjak@ericsson.com>
parent 100543bd
......@@ -12,5 +12,5 @@ done
echo "Batch execution of SA tests: creating 1 report for each script file"
echo "You must have a symlink in this directory named perl and pointing to perl 5.6.0 or higher"
echo "./perl SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script"
./perl SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script
echo "./SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script"
./SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script
......@@ -25,7 +25,7 @@ run:
$(TTCN3_DIR)/bin/ttcn3_makefilegen -R -f -t pos_conf_tests.tpd && \
cd bin && \
$(MAKE) && \
$(TTCN3_DIR)/bin/ttcn3_start pos_conf_tests pos_conf_tests.cfg && \
$(TTCN3_DIR)/bin/ttcn3_start pos_conf_tests ../pos_conf_tests.cfg && \
cd ..
clean:
......
// README to positive conformance tests
How to run:
1. Generate a Makefile from pos_conf_test.tpd in positive_tests folder:
ttcn3_makefilegen -f -t pos_conf_tests.tpd
2. Compile Makefile in bin folder:
A. (Makefile)
1. Build and run tests using Makefile in positive tests folder:
make
2. Clean everything in bin folder:
make clean
B. (Without the Makefile)
1. Generate a Makefile from pos_conf_test.tpd in positive_tests folder:
ttcn3_makefilegen -R -f -t pos_conf_tests.tpd
2. Compile Makefile in bin folder:
make
3. Run tests in bin folder:
ttcn3_start pos_conf_tests
4. Clean everything in bin folder:
3. Run tests in bin folder:
ttcn3_start pos_conf_tests ../pos_conf_tests.cfg
4. Clean everything in bin folder:
make clean
......@@ -25,7 +25,7 @@ run:
$(TTCN3_DIR)/bin/ttcn3_makefilegen -f -t XML_tests.tpd && \
cd bin && \
$(MAKE) && \
$(TTCN3_DIR)/bin/ttcn3_start XML_tests XML_tests.cfg && \
$(TTCN3_DIR)/bin/ttcn3_start XML_tests ../XML_tests.cfg && \
cd ..
clean:
......
// README to positive xml conformance tests
How to run:
A.
1. Create bin folder in positive_tests and copy XML_tests.cfg into it
2. Use the Makefile in positive tests folder
A. (Makefile)
1. Build and run tests using Makefile in positive tests folder:
make
2. Clean everything in bin folder:
make clean
B. (Without the Makefile)
1. Generate a Makefile from XML_tests.tpd in positive_tests folder:
1. Generate a Makefile from XML_tests.tpd in positive_tests folder:
ttcn3_makefilegen -f -t XML_tests.tpd
2. Create bin folder in positive_tests and copy XML_tests.cfg into it
3. Compile Makefile in bin folder:
2. Compile Makefile in bin folder:
make
4. Run tests in bin folder:
ttcn3_start XML_tests XML_tests.cfg
5. Clean everything in bin folder:
3. Run tests in bin folder:
ttcn3_start XML_tests ../XML_tests.cfg
4. Clean everything in bin folder:
make clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment