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

Add kernel testcases #6177

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NayanaNagaraj23
Copy link

The kernel testcases are modified to segregate it a positive and negative.

tc_environ_setenv_getenv_unsetenv_pos();
tc_environ_getenv_neg();
tc_environ_setenv_name_null_neg();
tc_environ_setenv_empty_name_neg();
Copy link
Contributor

Choose a reason for hiding this comment

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

Please check indentation.

Copy link
Contributor

@sunghan-chang sunghan-chang left a comment

Choose a reason for hiding this comment

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

I think you don't check the TizenRT commit rules. Could you check that at the wiki?

@@ -45,7 +45,7 @@
* Preconditions :none
* Postconditions :none
*/
static void itc_environ_setenv_p(void)
Copy link
Contributor

Choose a reason for hiding this comment

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

We check _p and _n internally in the automation tool. Do you have any reason to change?

@@ -62,6 +62,6 @@ static void itc_libc_semaphore_getprotocol_n_no_sem_init(void)

int itc_libc_semaphore_main(void)
{
itc_libc_semaphore_getprotocol_n_no_sem_init();
itc_libc_semaphore_getprotocol_no_sem_init_neg();
Copy link
Contributor

Choose a reason for hiding this comment

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

same as previous

u/itc_module_feature_function_n/p_details

This is what we use in the naming and automation tool parses.
Please let me know why you change the naming.

tc_clock_clock_get_time_pos();
tc_clock_clock_set_time_pos();
tc_clock_clock_set_time_neg();
tc_clock_clock_getres_pos();
Copy link
Contributor

Choose a reason for hiding this comment

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

Please check indentation

Comment on lines +63 to +64


Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep just 1 empty line for separating.

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.

None yet

3 participants