From b26544141fa48cf6de98967e92db319df28c943b Mon Sep 17 00:00:00 2001 From: Eugenio Parodi Date: Tue, 21 Nov 2023 09:01:30 +0000 Subject: [PATCH] Fix test failure --- Makefile | 1 + tools/check.import.sh | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f1294a48..7ba7a361 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,7 @@ deploySandbox: git checkout gh-pages cp tmp/sandbox/*.html sandbox + cp -r tmp/sandbox/js sandbox git submodule foreach git pull git add sandbox diff --git a/tools/check.import.sh b/tools/check.import.sh index 26d4621c..517ce320 100755 --- a/tools/check.import.sh +++ b/tools/check.import.sh @@ -14,8 +14,6 @@ __check(){ -e "log.py:import inspect" \ -e "log.py:import logging" \ -e "log.py:from collections.abc import Callable, Set" \ - -e "input.py:import platform" \ - -e "input.py:from time import time" \ -e "term.py:import importlib.util" \ -e "term.*.py:import sys, os, signal" \ -e "term.*.py:from .term_base import TTkTermBase" \ @@ -40,7 +38,14 @@ __check(){ -e "propertyanimation.py:import time, math" \ -e "terminal.py:from select import select" | grep -v \ - -e "TTkTerm/input.py:from ..drivers import TTkInputDriver" \ + -e "TTkTerm/input_mono.py:from time import time" \ + -e "TTkTerm/input_mono.py:import platform" \ + -e "TTkTerm/input_mono.py:from ..drivers import TTkInputDriver" \ + -e "TTkTerm/input_thread.py:from time import time" \ + -e "TTkTerm/input_thread.py:import threading, queue" \ + -e "TTkTerm/input_thread.py:from ..drivers import TTkInputDriver" \ + -e "TTkTerm/input.py:from .input_thread import *" | + grep -v \ -e "TTkTerm/term.py:from ..drivers import *" \ -e "drivers/unix_thread.py:import sys, os" \ -e "drivers/unix_thread.py:from select import select" \ @@ -77,6 +82,7 @@ __check(){ -e "TTkTerminal/terminalhelper.py:from select import select" \ -e "TTkTerminal/__init__.py:import importlib.util" \ -e "TTkTerminal/__init__.py:import platform" + } ; if __check ; then