Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!117Rewrote README-s and MAKEFILE-s with simplified cfg useage
...@@ -12,5 +12,5 @@ done ...@@ -12,5 +12,5 @@ done
echo "Batch execution of SA tests: creating 1 report for each script file" 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 "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" echo "./SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script"
./perl SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script ./SAtester.pl $SCRIPTFLAGS -log SA_log.report *.script
...@@ -25,7 +25,7 @@ run: ...@@ -25,7 +25,7 @@ run:
$(TTCN3_DIR)/bin/ttcn3_makefilegen -R -f -t pos_conf_tests.tpd && \ $(TTCN3_DIR)/bin/ttcn3_makefilegen -R -f -t pos_conf_tests.tpd && \
cd bin && \ cd bin && \
$(MAKE) && \ $(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 .. cd ..
clean: clean:
......
// README to positive conformance tests // README to positive conformance tests
How to run: How to run:
1. Generate a Makefile from pos_conf_test.tpd in positive_tests folder:
ttcn3_makefilegen -f -t pos_conf_tests.tpd A. (Makefile)
2. Compile Makefile in bin folder: 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 make
3. Run tests in bin folder: 3. Run tests in bin folder:
ttcn3_start pos_conf_tests ttcn3_start pos_conf_tests ../pos_conf_tests.cfg
4. Clean everything in bin folder: 4. Clean everything in bin folder:
make clean make clean
...@@ -25,7 +25,7 @@ run: ...@@ -25,7 +25,7 @@ run:
$(TTCN3_DIR)/bin/ttcn3_makefilegen -f -t XML_tests.tpd && \ $(TTCN3_DIR)/bin/ttcn3_makefilegen -f -t XML_tests.tpd && \
cd bin && \ cd bin && \
$(MAKE) && \ $(MAKE) && \
$(TTCN3_DIR)/bin/ttcn3_start XML_tests XML_tests.cfg && \ $(TTCN3_DIR)/bin/ttcn3_start XML_tests ../XML_tests.cfg && \
cd .. cd ..
clean: clean:
......
// README to positive xml conformance tests // README to positive xml conformance tests
How to run: How to run:
A.
1. Create bin folder in positive_tests and copy XML_tests.cfg into it A. (Makefile)
2. Use the Makefile in positive tests folder 1. Build and run tests using Makefile in positive tests folder:
make
2. Clean everything in bin folder:
make clean
B. (Without the Makefile) 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 ttcn3_makefilegen -f -t XML_tests.tpd
2. Create bin folder in positive_tests and copy XML_tests.cfg into it 2. Compile Makefile in bin folder:
3. Compile Makefile in bin folder:
make make
4. Run tests in bin folder: 3. Run tests in bin folder:
ttcn3_start XML_tests XML_tests.cfg ttcn3_start XML_tests ../XML_tests.cfg
5. Clean everything in bin folder: 4. Clean everything in bin folder:
make clean make clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment