Commit graph

179 commits

Author SHA1 Message Date
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
Delyan Angelov
6107e0d154
tests: show compile time and runtime for each _test.v file in separate columns (#20520) 2024-01-20 17:38:46 +02:00
Hitalo Souza
cb224076ec
examples: add examples/wasm/change_color_by_id/ (#20519) 2024-01-14 13:34:23 +02:00
Hitalo Souza
1b3c4f596e
examples: serve the wasm mandelbrot project using a v web server (#19937) 2023-12-11 14:10:06 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03:00
gym603
46086c046f
tests: make 'v test-self' pass under msys2/MINGW64 (#20010) 2023-11-28 15:03:30 +02:00
JalonSolov
0da00cc457
v: prepare for making -W impure-v the default (#19940) 2023-11-20 09:17:59 +02:00
Delyan Angelov
157d603e5c
testing: fix reliance on os.join_path with , to produce a folder ending with / or \ (#19913) 2023-11-17 17:29:15 +02:00
Delyan Angelov
c8382264a4
ci,tools: remove skips for the wasm backend, since binaryen is not required anymore (#19883) 2023-11-15 20:30:14 +02:00
Casper Küthe
a176021afe
picoev: improve raw mode, change fn signature for the raw_cb field to fn (mut Picoev, int) (#19817) 2023-11-11 09:36:52 +02:00
Delyan Angelov
92a72df5f8
tools: fix v build-tools, make v test more robust (#19803) 2023-11-07 21:19:58 +02:00
Delyan Angelov
bd52a94e60
tests: add a small delay too between the test retries, in the non -stats branch, handling flaky test failures 2023-11-06 16:51:57 +02:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v as default) (#19779) 2023-11-06 14:27:00 +02:00
Joe C
a63f3e6f77
coroutines: use photon work_pool when nr_jobs > 0, and use photon libc fn wrappers (#19711) 2023-10-31 20:12:52 +03:00
Turiiya
a2dabddc70
testing: add temporary file hash to prevent accidental collisions with test file binaries (#19710) 2023-10-31 08:07:51 +02:00
Turiiya
2332c17bea
tools: fix typos (#19546) 2023-10-11 03:16:59 +03:00
Turiiya
3e50ba0856
ci: update and cleanup the ci related code (#19541) 2023-10-10 21:39:00 +03:00
Delyan Angelov
c075e44ec1
ci,examples: fix v examples/sokol/simple_shader_glsl/simple_shader.v, ensure it compiles on the misc-tooling job (#19404) 2023-09-21 19:44:58 +03:00
Etienne Girondel
492e918fdb
builder,pref: allow thirdparty objects compilation with CPP compiler (#19124) 2023-08-13 20:30:28 +03:00
Everton J. Carpes
357ac0bb5a
examples: show how to call a simple v module from ruby (#19073) (#19073)
This is a copy/adaptation of the python example (#13105)
2023-08-07 07:07:00 +03:00
Casper Kuethe
a43064af07
picoev, picohttparser: reimplement in V (#18506) 2023-07-12 09:40:16 +03:00
Delyan Angelov
ae8e9af11f
ci: skip building examples/coroutines/simple_coroutines.v for now 2023-05-29 13:35:46 +03:00
Petr Makhnev
c1f249af6c
test: handle compilation errors when running tests specially in the teamcity runner (#17511) 2023-03-05 10:14:23 +02:00
yuyi
17000ef7b6
checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
l-m
0625caad56
wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
Alexander Medvednikov
868908b80d checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +03:00
Makhnev Petr
db2111235e
tests: add a teamcity output format for V's test runner (#16681) 2022-12-15 09:29:09 +02:00
Delyan Angelov
f5d0ba318e
testing: support new events in the output modules of v test: .cmd_begin sent right before a _test.v execution, and .cmd_end sent right after a _test.v execution 2022-12-03 20:06:46 +02:00
Delyan Angelov
d09c8c914b
testing: refactor the v test implementation to make supporting different output modes easier 2022-12-02 18:12:42 +02:00