Commit Graph

19 Commits (969f8f1a758e62cc751e92b4cfd73d6e61038a1e)

Author SHA1 Message Date
Delyan Angelov 969f8f1a75 ci: fix compilation of the test infrastructure 2020-12-20 18:27:42 +02:00
Delyan Angelov b3e19c7247 tests: restore skipped return_missing_comp_if.vv and return_missing_comp_if_nested.vv 2020-11-16 10:07:53 +02:00
Delyan Angelov ac6fad6a63 checker: fix comptime custom defines usages, add tests 2020-10-24 15:06:51 +03:00
Delyan Angelov 3c2202572b
cgen: produce cleaner error on missing C headers (with optional explanation) ()
Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
2020-10-17 18:27:06 +03:00
Delyan Angelov 50a2b033b7 ci: fix failing tests on windows too 2020-10-15 15:54:44 +03:00
Swastik Baranwal 5f07b255bd
checker: disallow address of array and map index outside unsafe () 2020-10-05 13:08:30 +02:00
Henrixounez e429a77de2
gen: named imported structs operator overloading and str methods () 2020-09-20 19:51:14 +02:00
spaceface777 ff92c3409d
ast: merge `IfExpr` and `CompIf` () 2020-09-18 00:58:54 +02:00
Delyan Angelov 5da698b4bf tests: add support for skipping tests in vlib/v/compiler_errors_test.v too 2020-09-15 19:56:52 +03:00
Delyan Angelov 86dfd3902f tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
Delyan Angelov fd5a76a8ad ci: fail compiler_errors_test.v, when at least one of all the parser/checker tests failed 2020-08-13 12:57:16 +03:00
Delyan Angelov eba413853f compiler_errors_test.v: use work.close() instead of sentinel tasks 2020-08-10 15:26:54 +03:00
Delyan Angelov 55b8cc1bb2 tests: parallelize compiler_errors_test.v using channels & threads 2020-08-07 16:44:49 +03:00
Delyan Angelov 6c27ce58ed v.util.vtest: extract the common code for VTEST_ONLY in a single place 2020-08-05 19:34:27 +03:00
Enzo 2de1437a1e
ci: vet all files from the compiler () 2020-07-27 12:15:29 +02:00
Delyan Angelov a7f484d9a7 tests: make output of vlib/v/compiler_errors_test.v more readable 2020-07-26 10:47:55 +03:00
Delyan Angelov 73a259496e tests: support `VTEST_ONLY=fn_,match_ ./v test-fixed` and in compiler_test.v 2020-07-09 10:47:16 +03:00
Delyan Angelov ce31c4c03e tests: support `VTEST_ONLY=parser ./v vlib/v/compiler_errors_test.v` 2020-07-09 10:27:31 +03:00
Delyan Angelov e73ed56231 tests: add parser/tests/, move checker_test.v=>compiler_errors_test.v 2020-06-15 10:58:34 +03:00