kumquat-buildroot/support
Marcus Hoffmann 4e5a25a112 support/testing: add fastapi runtime test
Add a runtime test for fastapi. Use uvicorn as the asgi server
application as does the fastapi hello world example [1].

Fastapi depends on PydanticV2 now which is written in rust so we need to
run the test on armv7.

[1] https://fastapi.tiangolo.com/tutorial/first-steps/

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
[Arnout:
 - fix flake8 errors
support/testing/tests/package/sample_python_fastapi.py:5:1: E302 expected 2 blank lines, found 1
support/testing/tests/package/sample_python_fastapi.py:8:1: W391 blank line at end of file
 - Remove BR2_CCACHE (as requested by Marcus).
 - Add a comment explaining that this also tests uvicorn and pydantic.
 - Re-try wget in a loop instead of a fixed timeout of 30 seconds.
 - Add a DEVELOPERS entry.
]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-02-06 13:31:48 +01:00
..
config-fragments support/config-fragments/autobuild/br-arm-internal-glibc: update to bleeding edge components 2023-05-21 17:52:14 +02:00
dependencies support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 2024-01-10 21:22:57 +01:00
docker support/docker: add qemu-system-misc for riscv runtime tests 2023-08-24 23:20:26 +02:00
download Revert "support/download: generate even more reproducible tarballs" 2024-01-11 12:00:25 +01:00
gnuconfig
kconfig
legal-info boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
libtool
misc Update for 2023.11.1 2024-01-15 17:07:16 +01:00
scripts support/scripts/pkg-stats: check all files for warnings 2023-11-08 22:14:27 +01:00
testing support/testing: add fastapi runtime test 2024-02-06 13:31:48 +01:00