From 156101d0960858462c3f040d2a807dfb85eba511 Mon Sep 17 00:00:00 2001 From: wdednam Date: Wed, 9 Oct 2024 13:09:27 +0200 Subject: [PATCH 1/6] Update .gitignore and remove build artifacts from tracking --- .gitignore | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.gitignore b/.gitignore index 55a5dada6..ca742241c 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,35 @@ gui-js/dist/* gui-js/.nx/* gui-js/.angular/* doc/minsky/* + +# Ignore build artifacts and temporary files +# Object files, static and shared libraries, executables +*.o +*.a +*.so +*.dll +*.exe +*.gch +*.node + +# Build directories +/build/ +/bin/ +/obj/ + +# Logs and temporary files +*.log +*.tmp +*.pid +*.swp +*.swo + +# Core dumps +core + +# Exclude specific large files +/gui-js/node-addons/minskyRESTService.node +/model/minsky.gch +/libminsky.a +/st1QD5JV + From 2b420027e77780d644e7602c082f9b7aeaa163b0 Mon Sep 17 00:00:00 2001 From: wdednam Date: Wed, 9 Oct 2024 21:28:28 +0200 Subject: [PATCH 2/6] First attempts at porting tcl tests to python --- test/00/canvasContext.sh | 117 ++++++++++++++++++++------------------- test/00/instanceList.sh | 67 ++++++++++++---------- 2 files changed, 97 insertions(+), 87 deletions(-) diff --git a/test/00/canvasContext.sh b/test/00/canvasContext.sh index f9944ec67..540b73d9d 100755 --- a/test/00/canvasContext.sh +++ b/test/00/canvasContext.sh @@ -4,76 +4,77 @@ here=`pwd` . $here/test/common-test.sh # needs to be a jest test! -cat >input.tcl <input.py <input.tcl <input.py < Date: Wed, 9 Oct 2024 22:03:06 +0200 Subject: [PATCH 3/6] Reverted test instanceList to TCL due to remote fail --- test/00/instanceList.sh | 69 ++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 39 deletions(-) diff --git a/test/00/instanceList.sh b/test/00/instanceList.sh index d88c2941a..0bf38c652 100644 --- a/test/00/instanceList.sh +++ b/test/00/instanceList.sh @@ -27,46 +27,37 @@ pass() } trap "fail" 1 2 3 15 -cat >input.py <input.tcl < Date: Wed, 9 Oct 2024 22:09:48 +0200 Subject: [PATCH 4/6] Reverted gitignore to upstream version --- .gitignore | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index ca742241c..f08b356a1 100644 --- a/.gitignore +++ b/.gitignore @@ -40,36 +40,4 @@ gui-js/documentation/* gui-js/dist/* gui-js/.nx/* gui-js/.angular/* -doc/minsky/* - -# Ignore build artifacts and temporary files -# Object files, static and shared libraries, executables -*.o -*.a -*.so -*.dll -*.exe -*.gch -*.node - -# Build directories -/build/ -/bin/ -/obj/ - -# Logs and temporary files -*.log -*.tmp -*.pid -*.swp -*.swo - -# Core dumps -core - -# Exclude specific large files -/gui-js/node-addons/minskyRESTService.node -/model/minsky.gch -/libminsky.a -/st1QD5JV - +doc/minsky/* \ No newline at end of file From 84c760f8322c136071bea8039ac63503771a52c6 Mon Sep 17 00:00:00 2001 From: wdednam Date: Thu, 10 Oct 2024 16:31:15 +0200 Subject: [PATCH 5/6] Tricky python refactoring of canvasContext.sh --- test/00/canvasContext.sh | 151 +++++++++++++++++++++++---------------- 1 file changed, 90 insertions(+), 61 deletions(-) diff --git a/test/00/canvasContext.sh b/test/00/canvasContext.sh index 540b73d9d..51e9a3454 100755 --- a/test/00/canvasContext.sh +++ b/test/00/canvasContext.sh @@ -6,72 +6,101 @@ here=`pwd` # needs to be a jest test! cat >input.py < Date: Fri, 11 Oct 2024 12:42:50 +0200 Subject: [PATCH 6/6] Reverted canvasContext to TCL and added new pythonised canvasAddMoveItems test --- test/00/canvasAddMoveItems.sh | 109 ++++++++++++++++++++++ test/00/canvasContext.sh | 168 ++++++++++++++-------------------- 2 files changed, 178 insertions(+), 99 deletions(-) create mode 100755 test/00/canvasAddMoveItems.sh diff --git a/test/00/canvasAddMoveItems.sh b/test/00/canvasAddMoveItems.sh new file mode 100755 index 000000000..51e9a3454 --- /dev/null +++ b/test/00/canvasAddMoveItems.sh @@ -0,0 +1,109 @@ +#! /bin/sh + +here=`pwd` +. $here/test/common-test.sh + +# needs to be a jest test! +cat >input.py <input.py <input.tcl <