• R/O
  • SSH

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

Révisionf548d776f4a14cacecd61edec78da6ddbcb097dc (tree)
l'heure2023-01-29 19:35:29
AuteurAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Message de Log

Added a todo-test: NoNameCollision

Change Summary

Modification

diff -r 1a1dc1dc61cc -r f548d776f4a1 Makefile
--- a/Makefile Sun Jan 29 01:10:53 2023 +0100
+++ b/Makefile Sun Jan 29 11:35:29 2023 +0100
@@ -1,10 +1,14 @@
11 default: all
22
3+all: current demo test mutmut pyanalyse XXX missing current-todo
4+
35 CURRENT_TESTS = \
4- pytst/writers/CC2Cpy/test_2a_groundwork.py \
5- pytst/writers/CC2Cpy/test_2b_EventProtocol.py \
6+ pytst/writers/CC2Cpy/test_2a_groundwork.py \
7+ pytst/writers/CC2Cpy/test_2b_EventProtocol.py \
68
7-all: current demo test mutmut pyanalyse XXX missing
9+TODO_TESTS = \
10+ pytst/writers/CC2Cpy/test_999_NoNameCollision.py \
11+
812
913 ToCS_dir = _ToCS-reports/
1014 COVERAGE_dir = ${ToCS_dir}Coverage/
@@ -41,8 +45,11 @@
4145
4246 open: coverage-open mutmut-open
4347 remake: veryclean coverage mutmut open
44-current:
48+current: current-only current-todo
49+current-only:
4550 PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS}
51+current-todo:
52+ PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${TODO_TESTS}
4653 current-ds current-sd:
4754 PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} --log-cli-level=DEBUG -s ${CURRENT_TESTS}
4855
diff -r 1a1dc1dc61cc -r f548d776f4a1 pytst/writers/CC2Cpy/test_999_NoNameCollision.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pytst/writers/CC2Cpy/test_999_NoNameCollision.py Sun Jan 29 11:35:29 2023 +0100
@@ -0,0 +1,9 @@
1+# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project
2+
3+import logging; logger = logging.getLogger(__name__)
4+import pytest
5+
6+@pytest.mark.skip(reason="This needs more design work first")
7+def test_999_NoNameCollision():
8+ assert False, "names will clash"
9+