From 30772b369999c6b5deae7d4ea653d46cc09680ed Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Fri, 18 Oct 2024 10:33:48 +0000 Subject: [PATCH] Update for MMGen Wallet 15.1.dev6 --- MANIFEST.in | 2 +- mmgen_node_tools/data/version | 2 +- setup.cfg | 2 +- test/init.sh | 8 +++++++- test/{unit_tests_d => modtest_d}/ut_BlocksInfo.py | 0 test/{unit_tests_d => modtest_d}/ut_dep.py | 0 test/test-release.d/cfg.sh | 12 ++++++------ 7 files changed, 16 insertions(+), 10 deletions(-) rename test/{unit_tests_d => modtest_d}/ut_BlocksInfo.py (100%) rename test/{unit_tests_d => modtest_d}/ut_dep.py (100%) diff --git a/MANIFEST.in b/MANIFEST.in index 1fe78fa..0443a99 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,7 +4,7 @@ include mmgen_node_tools/data/* include test/init.sh include test/test-release.d/*.sh -include test/unit_tests_d/*.py +include test/modtest_d/*.py include test/cmdtest_d/*.py include test/overlay/fakemods/mmgen_node_tools/*.py include test/ref/*/* diff --git a/mmgen_node_tools/data/version b/mmgen_node_tools/data/version index ecc3a64..f19fa82 100644 --- a/mmgen_node_tools/data/version +++ b/mmgen_node_tools/data/version @@ -1 +1 @@ -3.5.dev2 +3.5.dev3 diff --git a/setup.cfg b/setup.cfg index 9b82f69..edbad57 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,7 @@ python_requires = >=3.9 include_package_data = True install_requires = - mmgen-wallet>=15.1.dev3 + mmgen-wallet>=15.1.dev6 pyyaml yahooquery diff --git a/test/init.sh b/test/init.sh index 8f77c82..f6a6f00 100755 --- a/test/init.sh +++ b/test/init.sh @@ -77,6 +77,10 @@ create_dir_links() { done } +delete_old_stuff() { + rm -rf test/unit_tests.py +} + create_test_links() { paths=' test/include symbolic @@ -85,7 +89,7 @@ create_test_links() { test/__init__.py symbolic test/clean.py symbolic test/cmdtest.py hard - test/unit_tests.py hard + test/modtest.py hard test/test-release.sh symbolic test/cmdtest_d/common.py symbolic test/cmdtest_d/ct_base.py symbolic @@ -121,6 +125,8 @@ create_test_links() { becho 'Initializing MMGen Node Tools Test Suite' +delete_old_stuff + check_mmgen_repo || die "MMGen Wallet repository not found at $wallet_repo!" build_mmgen_extmod diff --git a/test/unit_tests_d/ut_BlocksInfo.py b/test/modtest_d/ut_BlocksInfo.py similarity index 100% rename from test/unit_tests_d/ut_BlocksInfo.py rename to test/modtest_d/ut_BlocksInfo.py diff --git a/test/unit_tests_d/ut_dep.py b/test/modtest_d/ut_dep.py similarity index 100% rename from test/unit_tests_d/ut_dep.py rename to test/modtest_d/ut_dep.py diff --git a/test/test-release.d/cfg.sh b/test/test-release.d/cfg.sh index 7a393df..a34c324 100755 --- a/test/test-release.d/cfg.sh +++ b/test/test-release.d/cfg.sh @@ -18,7 +18,7 @@ # mmnode-ticker OK # mmnode-txfind - -all_tests='unit lint misc scripts btc btc_rt bch_rt ltc_rt' +all_tests='mod lint misc scripts btc btc_rt bch_rt ltc_rt' groups_desc=" default - All tests minus the extra tests @@ -29,10 +29,10 @@ groups_desc=" " init_groups() { - dfl_tests='unit misc scripts btc btc_rt bch_rt ltc_rt' + dfl_tests='mod misc scripts btc btc_rt bch_rt ltc_rt' extra_tests='lint' - noalt_tests='unit misc scripts btc btc_rt' - quick_tests='unit misc scripts btc btc_rt' + noalt_tests='mod misc scripts btc btc_rt' + quick_tests='mod misc scripts btc btc_rt' qskip_tests='lint bch_rt ltc_rt' } @@ -45,8 +45,8 @@ init_tests() { - $pylint --errors-only --disable=relative-beyond-top-level test/cmdtest_d " - d_unit="low-level subsystems" - t_unit="- $unit_tests_py" + d_mod="low-level subsystems" + t_mod="- $modtest_py" d_misc="miscellaneous features" t_misc="- $cmdtest_py helpscreens"