1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-19 23:44:46 +00:00
Commit graph

140 commits

Author SHA1 Message Date
Roland Heyder
8ea4302239 Some file related refactoring
- using the new _READFILE$ and _WRITEFILE commands where applicable
- moved error handler changes inside CopyFile&() so we don't need to remember to do this before calling the function
  - fixed file tests complaining about missing error handlers
2024-07-15 13:00:47 +02:00
Samuel Gomes
64591ea9f6 Update license test output 2024-07-04 08:39:48 +05:30
Samuel Gomes
5082113463 Update and consolidate audio license test to tests/compile_tests/audio_out 2024-07-04 02:50:57 +05:30
Samuel Gomes
31d42b439b Update MIDI tests 2024-07-03 14:00:36 +05:30
Luke Ceddia
6abe235c41
Avoid eating 0-argument functions used after L/UBOUND
This commit reverts 38e0ec37 9f81ba1e and 55c36576 which attempted
to fix the capitalisation of array names used with L/UBOUND, and
introduced the code-eating bug. It is replaced with an alternative
solution to the capitalisation issue.
2024-06-27 19:22:54 +10:00
Luke Ceddia
e391dbc928 Try harder to ignore CR characters 2024-06-26 21:52:58 +10:00
Luke Ceddia
6a76a016e2 Ignore CR characters 2024-06-26 21:52:58 +10:00
Luke Ceddia
7c7e4cc5f4 Improve test log output 2024-06-26 21:52:58 +10:00
Luke Ceddia
e84eb4da14 Add format auto tests 2024-06-26 21:52:58 +10:00
Samuel Gomes
b4ce3140c5 Implement new PCX image loader and add tests 2024-06-23 23:01:27 +05:30
Samuel Gomes
12c9bfa21f Fix temp file name generation in filesys_test.bas 2024-06-06 07:19:40 +05:30
Samuel Gomes
99521ac597 Update font test 2024-06-06 04:38:35 +05:30
Samuel Gomes
41b744c110
Merge branch 'main' into main 2024-06-03 16:35:26 +05:30
Luke Ceddia
1d5a8d79b8 Allow setting environment variables with space in values 2024-06-03 19:01:43 +10:00
Samuel Gomes
cfc271baad Make _FILES$ default to "*" filespec if filespec is an empty string 2024-06-02 23:27:01 +05:30
Luke Ceddia
cdf665c918
Add tests for UDTs and UDT arrays 2024-06-01 20:07:21 +10:00
a740g
7024a19869 Add AssertImage2() to test suite 2024-05-12 17:20:20 +05:30
Samuel Gomes
ddca8ae76c Update test license files 2024-05-12 14:12:38 +05:30
Samuel Gomes
6469def59b Add comprehensive font test 2024-05-12 13:38:41 +05:30
Samuel Gomes
3d43883b6e Fix NOT working correctly when combined with other operators in an expression 2024-04-28 18:57:44 +05:30
Samuel Gomes
4e4b8149b4 Add test for boolean logical ops 2024-04-06 22:19:13 +05:30
Samuel Gomes
20f1871966 Add clipboard test and add clip license 2024-03-29 23:21:10 +05:30
Roland Heyder
be46dc870e Fix tests
according to: https://discord.com/channels/975381912350752819/975389657212805160/1219440128150208534
2024-03-19 01:32:11 +01:00
Matthew Kilgore
871da4fc12 Fix divide in CONST
The regular division symbol always converts its arguments to floating
point before dividing, similar to how integer division converts its
arguments to integers before dividing.
2024-02-25 01:36:56 -05:00
Matthew Kilgore
ada8255572 Fix unsigned multiplication in CONST
Multiplication wasn't using the ParseNum helper methods and as a result
wasn't setting num.ui, resulting in the wrong answer when using
unsigned.

I additionally switch it to use the proper signed vs unsigned type when
doing the multiplication.
2024-02-13 15:59:38 -05:00
Roland Heyder
36af0b292a 7.) Fix test case
- add SYSTEM to avoid deadlock of workflow
2024-02-07 22:01:34 +01:00
Roland Heyder
e09c4a9ec9 6.) Add a test case for $INCLUDEONCE 2024-02-07 21:33:32 +01:00
Roland Heyder
2d8a7b897f Fix hash test
- ok, that was my fault?, no it wasn't,
- console is ignoring trailing space when copying text from it
2024-02-03 14:35:55 +01:00
Roland Heyder
212986abd8 Fix hash test
- hopefully
2024-02-03 14:11:59 +01:00
Roland Heyder
2b3743e190 Adds test case for hashing 2024-02-03 12:24:34 +01:00
Matthew Kilgore
585002507c Avoid newline characters in test 2024-01-19 21:30:10 -05:00
Matthew Kilgore
1a087609bf Add support for ASC() and CHR$() 2024-01-18 13:00:13 -05:00
Matthew Kilgore
90941fffa7 Replace CONSTs while we have the individual elements
This moves the CONST replacement up before we turn the elements into a
single string. The advantage is that we don't have to worry about
splitting the string properly to find the CONST names as the elements
are already split for us.t
2024-01-18 13:00:13 -05:00
Samuel Gomes
103e0f0873 Cleanup FS_GetKnownDirectory() and make libqb/ compile using -O2 2024-01-02 23:49:43 +05:30
Samuel Gomes
8c61cac457 Merge branch 'filesystem-refactor-and-update' of https://github.com/a740g/QB64pe into filesystem-refactor-and-update 2023-12-28 00:10:52 +05:30
Roland Heyder
0adcd6c5a7 Another try... 2023-12-15 20:45:02 +01:00
Roland Heyder
395af5c486 Avoid OS differences in tests 2023-12-15 19:59:48 +01:00
Roland Heyder
d37d0ffc48 Fixing the test 2023-12-15 18:31:47 +01:00
Roland Heyder
84cd58162c Adds an test case
simple test case, which just embeds the `test.output` file and prints it
2023-12-15 18:03:36 +01:00
Roland Heyder
1358716115 Fixing tests
forget AddQuotes$(), rather make file.bas self-contained using CHR$(34)
2023-12-13 22:11:14 +01:00
Roland Heyder
34bbdae052 Fixing tests
try again...
2023-12-13 21:42:53 +01:00
Samuel Gomes
901bdb4cd3 Add filesys test 2023-12-13 12:26:09 +05:30
Matt Kilgore
71b5ddd432
Merge branch 'main' into main 2023-12-12 12:04:12 -05:00
Matthew Kilgore
06941f1aaf Add a short delay after killing pulseaudio
It seems to sometimes not be dead when we go to start it, presumably the
`puleaudio -k` doesn't actually wait for the process to exit.
2023-12-08 13:06:36 -05:00
Samuel Gomes
fbaff265d1 Add CHDIR _STARTDIR$ to svg_test.bas 2023-12-05 09:49:03 +05:30
Samuel Gomes
bb269c0d40 Fix svg_test.bas test image path 2023-12-05 09:30:30 +05:30
Samuel Gomes
bbfd228597 Check for SVG start tag and add tests 2023-12-05 09:20:25 +05:30
SteveMcNeill
1be3e366ac Final fixes to math stuff (I hope)
Fix to CONST with the math evaluator to toss a message and error with values out of acceptable range for ARCSEC and ARCCSC.

Tweak to _PI to add constexpr for speedier execution.

Fix to the math tests for the new (and unbuggy) values for ARCSEC and ARCCSC.
2023-10-31 11:32:22 -04:00
Samuel Gomes
b4d013d0e3 Remove midi-openal test 2023-09-22 10:53:21 +05:30
Samuel Gomes
4f004c117b
Merge branch 'main' into audio-enhancements 2023-09-21 01:13:54 +05:30