-
Notifications
You must be signed in to change notification settings - Fork 18
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
trunner: add sparcv8leon3-generic-qemu target support #372
base: master
Are you sure you want to change the base?
Conversation
regarding the commit message: this is not a name of any TaRgEt supported by phoenix-RTOS :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please enable this target to CI in a separate commit.
Unit Test Results7 580 tests - 143 6 865 ✅ - 143 16m 41s ⏱️ - 21m 3s Results for commit 2f114c5. ± Comparison against base commit a20b474. This pull request removes 143 tests.
♻️ This comment has been updated with latest results. |
8f3e1a7
to
c141281
Compare
24427c5
to
b33c810
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When building with tests option
LD test_mmap
/src/phoenix-rtos-tests/devices/grlib-multi/test-grlib-multi.c:28:2: error: #error "Unsupported target"
28 | #error "Unsupported target"
| ^~~~~
/src/phoenix-rtos-tests/devices/grlib-multi/test-grlib-multi.c:31:10: fatal error: grlib-multi.h: No such file or directory
31 | #include <grlib-multi.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [../phoenix-rtos-build/Makefile.common:211: /src/_build/sparcv8leon3-generic-qemu/phoenix-rtos-tests/devices/grlib-multi/test-grlib-multi.o] Error 1
make: *** Waiting for unfinished jobs....
b33c810
to
f515cfb
Compare
You could add this to the Makefile.sparcvleon3, or come up with better solution
|
@@ -13,7 +13,7 @@ test: | |||
- name: pshlogin | |||
harness: test-pshlogin.py | |||
targets: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the beginning of yaml should be smth like:
test:
targets:
#TODO: remove when sparcv8leon3-generic-qemu target will stop being experimental
include: [sparcv8leon3-generic-qemu]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not done
1d3be02
to
65d206a
Compare
DEFAULT_COMPONENTS += test-grlib-multi | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no newline at the end of file
@@ -13,7 +13,7 @@ test: | |||
- name: pshlogin | |||
harness: test-pshlogin.py | |||
targets: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not done
c44e91e
to
baa8005
Compare
JIRA: CI-474
baa8005
to
2f114c5
Compare
@@ -1,4 +1,7 @@ | |||
test: | |||
targets: | |||
value: [sparcv8leon3-generic-qemu] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should include target, not set sparcv8leon3-generic-qemu as only target, also comment should be place why it is done.
value: [sparcv8leon3-generic-qemu] | |
include: [sparcv8leon3-generic-qemu] |
@@ -1 +1,3 @@ | |||
ifneq ($(TARGET), sparcv8leon3-generic-qemu) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's the simplest solution possible here, but let's leave a comment that we don't want to build this test for qemu architecture and why (please ask an author for a reason).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could also do this in a separate commit and be connected to this issue: phoenix-rtos/phoenix-rtos-project#1182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it should be done in the separate commit for sure
JIRA: CI-474
Description
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment
scripts: add sparcv8leon3-generic-qemu-test script phoenix-rtos-project#1168