[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test time-related syscalls #855

Open
3 tasks
robgjansen opened this issue Jun 29, 2020 · 1 comment
Open
3 tasks

Test time-related syscalls #855

robgjansen opened this issue Jun 29, 2020 · 1 comment
Labels
Component: Testing Unit and integration tests and frameworks Type: Enhancement New functionality or improved design

Comments

@robgjansen
Copy link
Member

We should have some tests for our time-related syscall handling code in src/main/host/syscall/time.c:

  • clock_gettime
  • gettimeofday
  • time
@robgjansen robgjansen added Type: Enhancement New functionality or improved design Component: Testing Unit and integration tests and frameworks labels Jun 29, 2020
@sporksmith
Copy link
Contributor

test_time.rs tests clock_gettime. It could probably be extended pretty easily to test the other time APIs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Testing Unit and integration tests and frameworks Type: Enhancement New functionality or improved design
Projects
None yet
Development

No branches or pull requests

2 participants