History log of /seL4-test-master/projects/sel4test/apps/sel4test-tests/src/tests/serial_server.c
Revision Date Author Comments
# 839a9873 14-Sep-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

Explicitly set cspace_size_bits in new processes

libsel4utils allows you to specify the size of a new processes cspace in
its interface. Relying on changing the library's default by changing the
value of LibSel4UtilsCSpaceSizeBits is much less flexible.


# 1252d2ce 25-Apr-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

trivial: Style serial_server.c


# e6165ab2 25-Apr-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

Re-enable serial_server tests on RISC-V

These were disabled due to no platform user level serial driver existing
on any supported platforms. However as the serial server prints by
delegating to printf, these tests can still run correctly if printf is
using seL4_DebugPutChar internally.


# 59eaa5d1 17-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

riscv: add config_set guard to RISCV guards


# e0ad7b7c 02-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

SELFOUR-1280: conditionally run serial server tests

RISC-V has no serial device currently, so do not run these tests if the
architecture is RISC-V.

However, use the DEFINE_TEST macro, instead of #ifdef'ing out all of the
tests.


# efe7c37c 26-Apr-2017 Hesham Almatary <hesham.almatary@data61.csiro.au>

RISCV port


# d3fcdadd 26-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1083 refactor tests because DEFINE_TEST_MAYBE was renamed to DEFINE_TEST


# a06d2924 18-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1107 fix references to serial server
because serial server is now in a separate library


# fc55cc1a 17-Sep-2017 Claudia Tu <claudia.tu@unsw.edu.au>

SELFOUR-1089 move serial server parent tests to libsel4utils


# 06b71f00 09-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Add env argument to helper_set_priority, mcp

- it will be needed in future when SELFOUR-1016 is merged
- merge it now to avoid the conflicts inherent on a long running branch


# b5ac337a 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# c2016ec8 17-Feb-2016 Adrian Danis <Adrian.Danis@nicta.com.au>

Use updated vka and allocman interfaces

The vka_utspace_alloc_at provides a much more reliable way of
retrieving a device frame capability, so we preference it
over using simple


# 05ab12fa 29-Jun-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

Cast strlen to (int) in calls to test_eq

strlen returns a long and this is compared to error, which is an int.
There is no guarantee that these types are the same size (as required
by test_eq) and on x86_64 they actually different sizes


# 832d91e4 29-Jun-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

Increase allocman pool size

On x86_64 allocman needs a larger pool to bootstrap, this commit
increases the pool size to enable allocman to bootstrap (and these
tests to then pass) on x86_64


# ed876dbc 09-Jun-2016 Kofi Doku Atuah <kofi.dokuatuah@nicta.com.au>

serial_server: add functionality tests

Add tests that determine the working status of the Serial Server
library under a range of reasonable conditions, both with a single
client and multiple clients. Tests the following under both single-user
and concurrent conditions:

* Connect to the server (from both the parent itself and other clients).
* Printf() and write()
* Connect, write some data, then disconnect, and reconnect and then write
some more data (connection reset/state diagram)
* Connect, disconnect and kill the server.

^ Use `make select-test TEST=SERSERV_CLIENT` to run the client thread tests.
^ Use `make select-test TEST=SERSERV_PARENT` to run the connection-from-parent
tests
^ Use `make select-test TEST=SERSERV_CLI_PROC` to run the client process
tests (these connect from a thread in a different VSpace and CSpace).
^ `make select-test TEST=SERSERV` will run all serial server tests.