Commit Graph

27 Commits (d86b18844e34a69ed3d83d8566b22002825feb3c)

Author SHA1 Message Date
Delyan Angelov 8a380f4699
tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
crthpl 14434cc86a
all: bare metal support (fix `-freestanding`) (#9624) 2021-04-14 07:50:50 +02:00
Lukas Neubert 7664964c56
vfmt: format all of cmd/ and add it to `v test-cleancode` (#9418) 2021-03-24 23:37:10 +02:00
yuyi 07459a77e3
cgen: fix gen_array_equality_fn() (#7633) 2020-12-28 12:26:50 +02:00
Delyan Angelov d563261e58
vweb: run vfmt, add it to `v test-cleancode` 2020-12-27 11:38:12 +02:00
Alexander Medvednikov 50a6976b5e all: minor array fixes 2020-12-20 16:08:56 +01:00
Delyan Angelov f42a44abec vfmt: fix `match x { 10 /* ... */ {} }` and `a := [1/* x */, /* y */2, 3]` 2020-11-11 22:59:43 +02:00
Delyan Angelov a4acb70c64 vfmt: remove rc4.v from known_failing_exceptions 2020-11-11 18:19:03 +02:00
Delyan Angelov 2759b80514 vfmt: remove aes.v and block_generic.v from known_failing_exceptions in `v test-fmt` 2020-11-11 18:16:45 +02:00
Delyan Angelov ebfd259333 vfmt: support `struct Repo <T, U> { }` 2020-11-11 17:50:03 +02:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Delyan Angelov 9322e91d1b v test-fmt: add 1 sec sleep before rebuilding vfmt, to avoid its parallel recompilation afterwards 2020-10-21 15:20:07 +03:00
Delyan Angelov 87f659a0dc ci: fix should_recompile_tool/2 2020-10-21 15:07:57 +03:00
Delyan Angelov 7b552eb590 v test-fmt: fix a typo 2020-10-21 13:37:05 +03:00
Delyan Angelov 02db94c4bc v test-fmt: reuse v.util.should_recompile_tool/2, extracted from v.util.launch_tool/3 2020-10-21 12:54:10 +03:00
Delyan Angelov dab66593fc vlib: run vfmt over vlib files, so that `v doc -m vlib/` can run without warnings 2020-10-21 12:54:10 +03:00
Delyan Angelov 0e56b96bda v test-fmt: recompile vfmt only when needed 2020-10-21 11:06:15 +03:00
Delyan Angelov f09698894a v test-fmt: recompile vfmt once before all other tests, to prevent locking the executable 2020-10-21 09:11:09 +03:00
Delyan Angelov 31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
Delyan Angelov 3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
Delyan Angelov e36f11750b v test-fmt: use .skip_files instead of filtering 2020-10-14 23:58:31 +03:00
Delyan Angelov 5dd34c3a8a v test-fmt: skip os.v, linuxsys_bare.v, life.v for now 2020-10-14 23:49:12 +03:00
Delyan Angelov 5a11b87097 tests: do not panic on failed tests, just warn and exit(1). 2020-10-14 23:42:30 +03:00
yuyi 9f4d498ff1
all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
Delyan Angelov b898970031 cmd/tools: use same line imports too 2020-04-26 09:32:05 +03:00
Alexander Medvednikov eed7c91e87 move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
lutherwenxu 9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00