Commit graph

99 commits

Author SHA1 Message Date
David Brown
cf2da3000f Record curpos on every inR.Read. Add more debug to catch OpenBSD read failure. 2016-12-05 17:00:55 +00:00
David Brown
e6c858e6e7 Prototype for finding installation based on binary name. 2016-12-04 17:56:06 +00:00
David Brown
1ae3a2ff32 Simplify ARGV setup. Add trial binary directory discovery code. 2016-12-03 18:43:13 +00:00
David Brown
c65b89daf3 Update confidence tests for arg handling move. Remove unused vars in Platform. 2016-12-01 18:39:02 +00:00
David Brown
aed9134e99 Allow Revised Oberon array assignment (source may be shorter than target). 2016-12-01 17:57:27 +00:00
David Brown
6da0d5d685 Build with colour output when on a tty/console. 2016-11-15 17:33:05 +00:00
David Brown
2a242ae960 Add Oakwood 'In' module and a test for it. 2016-10-30 14:22:10 +00:00
David Brown
cf49ec30b9 Restore use of alloca for string value copies. mingw build fixes. Support Linux subsystem for Windows. 2016-10-28 18:13:42 +01:00
David Brown
c3515d8e4b Use Unix line endings for isptest.mod. 2016-10-20 19:48:23 +01:00
David Brown
1e7d3ca4fd Add isptest (active) and In.Mod (not yet used). 2016-10-20 19:20:25 +01:00
David Brown
300b67a572 Remove -msse2, fix halt code type on windows platform. 2016-10-18 18:12:33 +01:00
David Brown
2d8c9c4757 Make math test work across x86/x64. 2016-10-17 12:49:05 +01:00
David Brown
eda7e88185 Add test for Math and MathL modules. 2016-10-16 15:21:32 +01:00
David Brown
1507d9cb0a Force git rename of VT100 in bootstrap, make SYSTEM.* mdel independent. 2016-10-15 19:05:08 +01:00
David Brown
b231efb466 Updated outtest expected results. 2016-10-12 12:30:27 +01:00
David Brown
ea30615235 Omit hex display of 0.0/0.0 from outtest as it differs between x86 and arm. 2016-10-12 12:08:39 +01:00
David Brown
dd6f704e68 Don't display sign for NaN as x86 and arm generate it differently for 0.0/0.0 2016-10-12 11:49:21 +01:00
David Brown
f0a68cf6f9 Improved Out.Real* layout and build type independence. 2016-10-12 11:12:08 +01:00
David Brown
1a3364269e Remove unwanted result files from git and correct use of sudo in buildall. 2016-10-11 15:35:37 +01:00
David Brown
ee77ec43ca Out.Mod. Add buffer, simplify real output. 2016-10-11 11:42:22 +01:00
David Brown
ebd1a2e695 Add tests for Out.Real, Out.LongReal. 2016-10-08 17:30:44 +01:00
David Brown
7238be5257 Use SET64 representation in the compiler. 2016-09-30 19:00:33 +01:00
David Brown
a6f0088299 Trigger build 2016-09-25 15:50:24 +01:00
David Brown
1a83167d5a Fix ethMD5 build. May need more work to be correct on 64 bit builds. 2016-09-20 16:43:34 +01:00
David Brown
a36e04ebd7 Replace FetchAddress with (original) SYSTEM.GET. 2016-09-14 14:01:31 +01:00
David Brown
7efd5a0158 More LONGINTS changed to Address. Remove special FetchAddress code in Heap. 2016-09-14 13:02:00 +01:00
David Brown
b8496c3736 Pass set size to __IN, remove uSET Ctype, optimize __IN size test. 2016-09-13 20:14:17 +01:00
David Brown
68c105b48c Add tests for ENTIER. 2016-09-13 19:44:01 +01:00
David Brown
516e261242 Support int64 in ABS. Remove unneccessary cast in __XF, __RF. 2016-09-12 17:03:02 +01:00
David Brown
9baf4c9429 Fix shift/rotate for all integer types, add tests, make build order work for SYSTEM.c/h changes. 2016-09-12 15:55:54 +01:00
David Brown
83aaa70290 SYSTEM.ADDRESS signed (again), DIV, MOD full integer support, ASH and checks support 64 bit ints.
Change (back) to address type being signed.
DIV and MOD fully defined for the full range of integer on both parameters.
_X, _XF, _R and _RF checks upgraded for 64 bit support.
ASH upgraded for 64 bit.
Add div and mod tests to language confidence test.
Enable debuggable C compiler options.
2016-09-09 14:47:40 +01:00
David Brown
159f5a3d80 Update bootstrap source and snapshot binaries 2016-09-01 12:04:17 +01:00
David Brown
b3c71fb2f0 Include int size in .sym files, fix __IN for out of range values, better naming. 2016-08-30 19:01:24 +01:00
David C W Brown
da88496c5f Tidy (#41)
* Deduplicate common constants into OPM and do some source format tidying.

* Fix postpush buildall script to force checkout of updated buildall.

* Show enlistment branch in makefiles

* Support non-printables in string literals and tidy case alignment and constant literals.

* Common code for MIN and MAX of integer types.

* Common code for SInt/Int/LInt in ConstOp parameter preparation.

* Common code for SInt/Int/LInt in Op parameter preparation.

* Refactor SetIntType to work with byte size directly. Prepare to revert my incorrect VAL changes.

* Original meaning of VAL restored. Many library files disabled until use of VAL in 64 bits fixed.

* Make Reals.Mod independent of INTEGER size and add reals tests.

* Implement fraction, IsInfinity and IsNaN in oocLowReal.Mod.

* OPB little simplifications and ShorterSize/LongerSize functions.

* Add test for alignment computability

* Replace alignment constants with calculated alignment.

* typ.size aware OPV.Convert

* Add SYSTEM_INT64 and make tests name independent.

* Remove SYSTEM.H includes (string.h and stdint.h).

* Replace uses of uintptr_t and size_t with SYSTEM_ADDRESS.

* Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration.

* Detect 64 bit on FreeBSD, and size_t defined on OpenBSD.

* %zd not supportd by mingw, cast strnlen return to int.

* Add debug for intermittent failure only on OpenBSD.

* Add textTexts as a confidence test and tidy up a couple of other tests.

* Update binary test process.
2016-08-25 14:41:00 +01:00
David Brown
1f41d80b1e Resnap test binaries with improved buinary extraction. 2016-08-24 18:45:52 +01:00
David Brown
3a7b742ea7 Update binary test process. 2016-08-24 16:26:43 +01:00
David Brown
ca2cc52a44 Port updated tests and binary snapping, with corrected Reals code, from tidy branch. 2016-08-24 14:10:06 +01:00
David Brown
b1dc7d77e8 Update boostrap source 2016-07-22 20:20:57 +01:00
David Brown
0004fca318 Status report tweaks. 2016-07-20 14:32:15 +01:00
David Brown
4bbfe120c7 Add reporting of generated assembler changes. 2016-07-20 11:15:19 +01:00
David Brown
b3e2c5f9a6 Second attempt at disabling assembler generation for cygwin 64. 2016-07-19 21:55:47 +01:00
David Brown
0349189479 Separate assembly source by build flavour. 2016-07-19 20:38:41 +01:00
David Brown
359aa1c43f Add preliminary tests for generated code changes in the confidence tests. 2016-07-19 17:59:04 +01:00
David Brown
d12e72a428 Merge branch 'master' of https://github.com/vishaps/voc 2016-07-17 11:44:51 +01:00
David Brown
d8882462b1 Still fiddling to make test.sh work everywhere. Set first line to #!/bin/sh. 2016-07-17 11:44:25 +01:00
David CW Brown
cd53085613 Language test script must be executable. 2016-07-17 11:06:49 +01:00
David Brown
f2e12bf481 Make confidence test .sh s executable under cygwin by putting #! on first line. 2016-07-16 20:59:12 +01:00
David Brown
c146cab6c1 Add tests for ASH, SYSTEM.LSH and SYSTEM.ROT. 2016-07-16 18:29:51 +01:00
David Brown
57cd40aa9d Experiment with assmbly code listing - thinking about new tests. 2016-07-10 16:49:30 +01:00
David C W Brown
f838e58c50 Make tests shell scripts executable. 2016-06-17 13:41:02 +01:00