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
yuyi
ef5be22f81
all: replace generic <>
with []
- part 2 ( #16536 )
2022-11-26 18:23:26 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Alexander Medvednikov
e81e0ac708
fmt: replace go
with spawn
2022-11-05 10:46:40 +03:00
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w .
now works. ( #16335 )
2022-11-05 09:08:01 +03:00
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
...
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.
NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
Hitalo Souza
3d4ffe8f28
examples: unskip vweb_orm_jwt from building, since it is not working directly with mysql anymore ( #15671 )
2022-10-22 19:12:54 +03:00
Delyan Angelov
29b1796791
ci: add more skips for different CI jobs
2022-10-17 10:24:01 +03:00
Nicolas VENTER
50820105a1
docs: call_v_from_c example ( #15844 )
2022-09-25 22:52:40 +03:00
Alfie Ranstead
27305d1a5f
net.websocket: swap unsafe use of nil for a safe default value ( #15836 )
2022-09-22 08:00:03 +03:00
Delyan Angelov
f922ed0941
tests: unify all temporary files/folders under $VTMP/v
, that can be cleaned by v wipe-cache
( #15774 )
2022-09-16 04:56:19 +03:00
Hitalo de Jesus do Rosário Souza
2d7406a8cd
examples: v back-end example for vweb ( #15141 )
2022-07-24 13:02:57 +03:00
Zhomart Mukhamejanov
c1502b3c1f
examples: add macos_tray example app ( #15101 )
2022-07-18 09:42:45 +03:00
Delyan Angelov
6a4ba22eae
tests: flush test headers to ensure stable output with VJOBS>1
2022-06-22 12:46:32 +03:00
Delyan Angelov
0f3b2c2ae7
builtin: use C.fwrite (buffered) for _write_buf_to_fd ( #14558 )
2022-05-30 19:15:05 +03:00
Delyan Angelov
b4c529066a
tests: simplify cmd/tools/modules/testing/common.v
2022-05-16 10:29:57 +03:00
Delyan Angelov
01c1892995
tools: fix building vdoctor.v
with v build-tools
2022-05-04 23:30:44 +03:00
Delyan Angelov
8da42bfc85
tests: fix ./v -W build-tools
CI failure
2022-04-30 13:49:36 +03:00