Commit Graph

205 Commits

Author SHA1 Message Date
Michele Caini
242838e3f3 *: cleanup 2024-10-24 09:28:13 +02:00
Michele Caini
e774913db9 *: perf improvements 2024-10-23 09:28:51 +02:00
Michele Caini
3a8c06fe5b test: minor changes 2024-10-23 08:56:22 +02:00
Michele Caini
3c57dd9a98 test: minor changes 2024-10-23 08:51:15 +02:00
Michele Caini
d4f217f9f1 test: avoid deprecated headers 2024-10-23 08:30:45 +02:00
Michele Caini
34d2b00441 test: instruct the linter 2024-10-22 19:38:03 +02:00
Michele Caini
fb2f8d9eff cmake: use UVW_ to avoid polluting parent projects 2024-10-18 15:09:24 +02:00
Alois Klink
683883b08a
test: fix compiler warnings in test directory (#302) 2023-09-01 09:22:50 +02:00
Michele Caini
77b91ff98e test: I removed a bit too much stuff with the last commit :) 2023-08-30 10:50:05 +02:00
Michele Caini
dea293ffaa uv_type: drop virtual init function - close #302 2023-08-30 09:33:39 +02:00
Michele Caini
042da09665 stream/udp: add support to custom allocation functions - close #289 2023-07-03 14:16:41 +02:00
Michele Caini
426988b000 loop: metrics 2023-05-19 14:57:15 +02:00
Michele Caini
f86c810aea util: avoid testing constrained_memory 2023-05-19 14:56:29 +02:00
Michele Caini
8743dfc155 util: available_memory + missing declarations for gettime :) 2023-05-19 14:25:21 +02:00
Michele Caini
5e4694abba util: uvw_clock_id and gettime 2023-05-19 14:23:56 +02:00
Petr Menšík
6d771874a8
test: do not fail unit test because cpu speed 0 (#277) 2023-03-11 19:12:47 +01:00
Michele Caini
70697f4ae9
uvw v3 (#263) 2023-03-10 10:52:03 +01:00
Michele Caini
6243d3624a added Utilities::availableParallelism (libuv 1.44) 2022-03-08 13:15:38 +01:00
Michele Caini
5664b04075 added a clang-format file, updated the whole codebase 2022-03-08 12:59:19 +01:00
Michele Caini
25b8fad800 test: remove broken check 2022-03-08 12:15:05 +01:00
Michele Caini
432c55de9b build system: update gtest upstream branch name 2021-11-16 09:29:41 +01:00
Stefano Fiorentino
010d8de944
Removing the monostate pattern from uvw. (#242) 2021-05-09 22:49:33 +02:00
Michele Caini
58b299ee60 Updated to libuv 1.41 (close #237).
uv_socketpair and uv_pipe aren't explicitly eported via uwv.
2021-02-14 16:15:20 +01:00
Fiorentino Ing. Stefano
2ea56b1dd1 Give the option to build uvw as lib without fetching the libuv dependency
creating a fake lib to re-activate the lib test
	closes #231

Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-11-17 13:46:31 +00:00
Fiorentino Ing. Stefano
184488be25 refactor the `test' includes
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-10-08 08:10:11 +00:00
Michele Caini
26973f335c updated build system 2020-10-04 22:13:10 +02:00
Michele Caini
13cbd81881 ready to cut a new release (close #219) 2020-09-07 08:44:41 +02:00
Michele Caini
112828c677 test: make work.cpp run correcty also on Windows 2020-07-31 17:06:52 +02:00
Michele Caini
6b1651be7e fixed typo 2020-07-31 16:34:38 +02:00
Michele Caini
a4a27cacff test: make pipe tests run correctly also on Windows 2020-07-31 16:09:29 +02:00
Michele Caini
d2cc600e97 test: make thread tests run fine also on Windows 2020-07-31 13:01:13 +02:00
Michele Caini
9ed3eaebd1 test: make tty test run without errors also on Windows 2020-07-31 12:44:08 +02:00
Michele Caini
a77051e73a test: make util test compile also on Windows 2020-07-31 12:27:43 +02:00
Michele Caini
934851e3f5 test: make loop test compile also on Windows 2020-07-31 12:12:18 +02:00
Michele Caini
0b329720bf get rid of base handle, loop::walk returns actual handles (see #212, close #214) 2020-07-28 22:34:09 +02:00
Stefano Fiorentino
a10844d4bf
basehandle::type() in uv_walk which is in a timer callback causes double free (#213)
Close #212
2020-07-19 12:08:36 +02:00
Eli Lindsey
1a794772b2
add openbsd support (#204)
* add openbsd support

Renames fileno() so it doesn't clash with OpenBSD's macro expansion.
Makes minor changes to build steps so the test suite compiles and runs
on OpenBSD.

See https://github.com/skypjack/uvw/issues/201 for full context

* drop no-error override

* disable sendfile tests on openbsd

* forgot to commit the new file
2020-06-29 16:37:31 +02:00
Michele Caini
c0b9dc919b updated to libuv v1.36 (close #191) 2020-04-18 16:45:21 +02:00
Michele Caini
1f2b6ed23d increase code coverage 2020-03-28 00:03:54 +01:00
Michele Caini
4d92e354be increase code coverage 2020-03-27 23:39:08 +01:00
Michele Caini
fc50c60987 removed dead branch (BUILD_TESTING is used already to enter the test directory) 2020-03-27 23:32:48 +01:00
Stefano Fiorentino
d9ab73a281 `make install' requires gtest and tests to be built #186
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 21:50:28 +01:00
Stefano Fiorentino
336e5dfb1d Improving test coverage [adding Mutex::RecursiveLockUnlock]
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 12:31:33 +01:00
Stefano Fiorentino
bfc4a2c95b Improving test coverage [adding Mutex::LockUnlock]
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-27 12:02:05 +01:00
Stefano Fiorentino
53da326aea FsReq.ReadDir test now reads all dirent's entries
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-25 23:14:48 +01:00
Stefano Fiorentino
6fd64f93a0 Improving test coverage [adding FsReq::readdirSync]
Signed-off-by: Stefano Fiorentino <stefano.fiore84@gmail.com>
2020-03-25 19:34:05 +01:00
Stefano Fiorentino
216f5f4da1 Improving test coverage [adding FsReq::readdir] 2020-03-25 16:04:23 +01:00
Stefano Fiorentino
1f7d4acc40 Improving test coverage [adding Thread] (#181) 2020-03-25 15:55:16 +01:00
Michele Caini
55d7782af5 allow static build - see #171, thanks to @stefanofiorentino 2020-03-16 23:01:53 +01:00
Michele Caini
8a8610a928 make dns test optional 2019-09-25 14:15:15 +02:00