Skip to content

Conversation

@raresgoidescu
Copy link
Member

@raresgoidescu raresgoidescu commented Mar 1, 2025

Add scripts/test for sqlite/:

  • README.md: instructions to run the tests
  • common.sh: common functions and variables for test scripts
  • single.sh: test an instance started beforehand
  • wrapper.sh: wrapper over single.sh that also starts an instance
  • all.sh: test all configurations

Update the top-level test.overall.sh to include sqlite.

@razvand razvand self-requested a review June 5, 2025 06:56
@razvand razvand self-assigned this Jun 5, 2025
@raresgoidescu raresgoidescu marked this pull request as ready for review June 5, 2025 11:01
Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash commits to only have 3 commits.

Add `sqlite/` directory:

- `setup.sh`: setup `workdir/`
- `Config.uk`: app configuration
- `Makefile`: for building the app
- `Makefile.uk`: empty placeholder file required by build system
- `fc.{arm64,x86_64}.json`: Firecracker configuration
- `xen.{arm64,x86_64}.cfg`: Xen configuration
- `rootfs/`: contains an existing database, an example script and an example `root/.sqliterc`
- `README.md`: instructions

Update the top-level `setup.sh` to clone `lib-sqlite`.

Signed-off-by: Rares-Stefan Goidescu <[email protected]>
Add `scripts/` for `sqlite/`:
- `defconfig/<plat>.<arch>`: default configs, used by build scripts
- `build/<plat>.<arch>`: scripts for building Unikraft images
- `run/<plat>.<arch>`: scripts for running Unikraft images
- `README.md`: companion README with instructions

Signed-off-by: Rares-Stefan Goidescu <[email protected]>
Add `scripts/test` for `sqlite/`:

- `README.md`: instructions to run the tests
- `common.sh`: common functions and variables for test scripts
- `single.sh`: test an instance started beforehand
- `wrapper.sh`: wrapper over `single.sh` that also starts an instance
- `all.sh`: test all configurations

Update the top-level `test.overall.sh` to include `sqlite`.

Signed-off-by: Rares-Stefan Goidescu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants