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
Delyan Angelov
5277ce7dce
tests: support for marking _test.v files with // vtest flaky: true
, to reduce false positives from the CI
2022-04-30 13:30:02 +03:00
Delyan Angelov
60e718e7c6
test: save removing the nonexistent binary output for v fmt and v vet tests
2022-04-09 13:04:52 +03:00
Alexander Medvednikov
36ec47cd20
all: replace "NB:" with "Note:" (docs/comments)
2022-03-06 20:01:22 +03:00
starryskye
6d2a88e31f
net.smtp: add STARTTLS and implicit SSL support ( #13473 )
2022-02-16 09:18:51 +02:00
Ulises Jeremias Cornejo Fandos
4391ae563d
examples: improve the pendulum simulation, with several modes and diagrams ( #13446 )
2022-02-12 19:38:07 +02:00
Larpon
41b9b2988a
examples: add port of simple triangle sokol sample ( #13298 )
2022-01-27 21:16:00 +02:00
Delyan Angelov
eb765f975c
ci: add a small delay between failed test retries. bump retries for channel_select_6_test.v to 8
2022-01-27 17:43:55 +02:00
Delyan Angelov
62c3ad4953
use os.quoted_path more
2022-01-22 22:22:22 +02:00
Saptak Bhoumik
5e85d4cb39
examples: show how to call a simple v module from python ( #13105 )
2022-01-09 19:53:36 +02:00