Commit graph

207 commits

Author SHA1 Message Date
Delyan Angelov
da97e0a2e4
tools: fix for v build-tools and v build-examples running on a i686 (the problem was discovered by @tankf33der) 2025-06-21 17:50:31 +03:00
Mike
81b238e6f7
tools: fix how the relative path of the tests run by v test is formed, by removing ts.vroot only from beginning of the path (fix #24363) (#24467) 2025-05-12 18:08:22 +03:00
Delyan Angelov
469e268c79
v.pref: add get_build_facts_and_defines/0 and set_build_flags_and_defines/2 2025-05-10 11:26:04 +03:00
Delyan Angelov
59909cde89
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) (#24304) 2025-04-24 13:03:25 +03:00
Delyan Angelov
385ae6cc3c
tools: add support for // vtest build: !os_id_ubuntu? tags in the _test.v files, detected by v test 2025-04-16 15:01:54 +03:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Delyan Angelov
35b1cff2d3
tools: support // vtest build: !do_not_test ?, // vtest build: !windows && tinyc to skip files during testing on specific platforms, without having to keep centralised skip lists (#23900) 2025-03-11 21:57:47 +02:00
Hitalo Souza
f787e0317e
examples: add vanilla_http_server - a fast, multi-threaded, non-blocking, port and host reuse, thread-safe, epoll server (#23094) 2025-03-10 19:44:32 +02:00
Delyan Angelov
cec123a0df
math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math 2025-03-04 12:19:27 +02:00
Delyan Angelov
5698a6ae79
ci: fix v build-examples failure on gcc-windows 2025-02-20 09:13:06 +02:00
Delyan Angelov
dfacc3321d
tools: build examples, that start with module no_main as well 2025-02-19 17:19:50 +02:00
Delyan Angelov
4465c04dc7
ci: fix job names in cmd/tools/modules/testing/common.v as well 2025-02-17 22:34:07 +02:00
blackshirt
66e1d14bb4
crypto.ecdsa: migrate core routines for signing (and verifying), it now requires using OpenSSL 3 (#23705) 2025-02-17 18:49:32 +02:00
Delyan Angelov
c94e1e05f6
ci: fix failure of the docker-ubuntu-musl job (keep vlib/vweb/vweb_app_test.v in the skip_files) 2025-01-19 13:01:06 +02:00
Alexander Medvednikov
e5f70278ea x.vweb: remove the entire module (it's now veb) 2025-01-19 05:43:03 +03:00
blackshirt
c2b7dbf9b4
crypto.ecdsa: improve safety checking, unify signing (and verifying) api to accept options (#23463) 2025-01-18 20:07:19 +02:00
syrmel
b1d2593c1b
examples: add a solution to the "1 Billion Row Challenge" (#23458) 2025-01-15 09:09:11 +02:00
blackshirt
68c2da2560
crypto.ecdsa: expand ecdsa module, to support other curves like secp384r1, secp521r1, secp256k1 (#23407) 2025-01-12 12:19:05 +02:00
Delyan Angelov
63db71b650
ci: make easier the debugging of the docker-alpine-musl-gcc job (#23399) 2025-01-07 15:19:59 +02:00
Delyan Angelov
b801083f13
Revert "os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966)"
This reverts commit 93009823f9.
2024-11-25 15:10:15 +02:00
Elsie
93009823f9
os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966) 2024-11-25 12:17:33 +02:00
Delyan Angelov
fbc3fc6fcf
tools: cleanup the output for failing tests with v test . (#22921) 2024-11-20 14:20:33 +02:00
Delyan Angelov
65038a4a2a tools,testing: limit header length used in v test, make CI assertion failures easier to read 2024-11-10 11:10:04 +02:00
Felipe Pena
43d9cd6e90
builder: fix msvc build thirdparty obj file from .cpp (fix #22772) (#22789) 2024-11-08 12:35:14 +02:00
Delyan Angelov
2ad5d0cd15
tools: change v test to allow for // vtest hide_retries so that retry_test.v can hide its own (deliberate) retries 2024-10-31 20:23:19 +02:00
Delyan Angelov
d48cb18c3a
tools: show the full test output, on known flaky test failure with v test folder/ (#22716) 2024-10-31 19:02:14 +02:00
kbkpbot
747794998b
encoding: add an encoding.iconv module with tests (#22332) 2024-10-02 19:37:48 +03:00
Delyan Angelov
765b88f9f2
tests: skip ecdsa_test.v on windows and on tests-sanitize-memory-clang (since it needs OpenSSL) 2024-09-27 07:32:13 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Delyan Angelov
6488041a74
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158) 2024-09-04 09:38:09 +03:00
Delyan Angelov
c92577e6ed
parser,scanner,ast: make the scanner and parser more robust, by implementing more limits (preventing panics, discovered by fuzzing) 2024-08-20 15:15:24 +03:00
yuyi
cb58db56ef
all: change empty comment to newline (#22053) 2024-08-16 12:09:30 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
37f385c9d0
testing: implement a separate -show-asserts option, for cleaner test output (-stats still works, and still shows both the compilation stats and the asserts) (#21578) 2024-05-26 18:50:42 +03:00
Delyan Angelov
1cd561feb4
tests: reduce the likelyhood of naming collisions for v test session folders, started at the exact same time (the time resolution on windows is much lower) 2024-05-24 13:08:45 +03:00
Delyan Angelov
7a36b44c6a
ci: skip compiling the simple_sin_tones.v example again, but only in the tests-sanitize-memory-clang job 2024-05-22 08:45:50 +03:00
Delyan Angelov
6a550ab86e
tools: cleanup skips for v build-examples in cmd/tools/modules/testing/common.v (#21542) 2024-05-21 16:04:20 +03:00
Delyan Angelov
0e2b6041b8
testing: fix v -stats test folder/ not failing for a _test.v that fails (#21483) 2024-05-10 23:30:24 +03:00
Delyan Angelov
fe9be9632d
ci: fix the ubuntu-docker-musl job by skipping veb_app_test.v 2024-04-25 06:36:14 +03:00
Laurent Cheylus
f1fba25e49
tools: fix v build-tools (it skipped all tools in subfolders of cmd/tools/ after 6a4f293) (#21120) 2024-03-28 07:28:59 +02:00
Larpon
22744ce495
examples: fix simple_shader compile error, add 2 shader examples to CI (#21112) 2024-03-27 14:05:42 +02:00
Delyan Angelov
8a9def6534
examples: port sokol/clear.v and sokol/sdf/sdf.v (#21069) 2024-03-21 06:28:25 +02:00
Delyan Angelov
f43b52860d
tools: use the same same skipping logic for the platform specific _test.v files in v test-self too (#20815) 2024-02-13 18:36:51 +02:00
syrmel
6a4f2937ef
vtest,pref: add ability to have platform specific _test.v files (#20810) 2024-02-13 12:06:47 +02:00
Delyan Angelov
22e0b984d4
testing: retry 1 additional time sporadic silent test run failures on macos 2024-01-23 23:31:00 +02:00
Delyan Angelov
9a857c11c6
testing: fix warning for compiling ./v cmd/tools/vtest.v 2024-01-23 04:13:14 +02:00
Delyan Angelov
020515406a
testing: implement a retry loop for *the test compilation* as well controlled with VTEST_MAX_COMPILATION_RETRIES, with a randomized delay between each try 2024-01-22 22:12:20 +02:00
Delyan Angelov
4991fc7491
testing: make the FAIL tests more verbose, to ease remote CI failure diagnostics 2024-01-21 17:46:24 +02:00