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

lwip-tests: create port enabling run of lwip tests #72

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

Conversation

adamdebek
Copy link
Contributor

JIRA: CI-329

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

Copy link

github-actions bot commented Jan 11, 2024

Unit Test Results

6 410 tests  +408   5 776 ✅ +408   33m 27s ⏱️ + 3m 19s
  354 suites +  8     634 💤 ±  0 
    1 files   ±  0       0 ❌ ±  0 

Results for commit d721a48. ± Comparison against base commit 7a859f9.

♻️ This comment has been updated with latest results.

Copy link
Member

@nalajcie nalajcie left a comment

Choose a reason for hiding this comment

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

pointed out some issues

lwip-tests/build.sh Outdated Show resolved Hide resolved
lwip-tests/patch/Common-allports.patch Outdated Show resolved Hide resolved
lwip-tests/patch/Common-allports.patch Outdated Show resolved Hide resolved
lwip-tests/patch/Common-allports.patch Outdated Show resolved Hide resolved
lwip-tests/patch/Common-allports.patch Outdated Show resolved Hide resolved
lwip-tests/patch/Makefile.patch Outdated Show resolved Hide resolved
mkdir -p "${PREFIX_CHECK_BUILD}/include"
if [ ! -f "{$PREFIX_CHECK_BUILD}/config.h" ]; then
CHECK_CFLAGS="-std=gnu99 -I${PREFIX_CHECK_BUILD}/include"
(cd "$PREFIX_CHECK_SRC" && autoreconf -i -v -f && \
Copy link
Member

Choose a reason for hiding this comment

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

is autoreconf really necessary? (shouldn't be)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no default configure script so I need to generate it using autoreconf

lwip-tests/build.sh Outdated Show resolved Hide resolved
b_log "Building lwip-test"

LWIP_CONTRIB_COMMIT="35b011d4cf4c4b480f8859c456587a884ec9d287"
LWIP_CONTRIB_PKG_URL="https://github.com/particle-iot/lwip-contrib/archive/${LWIP_CONTRIB_COMMIT}.tar.gz"
Copy link
Member

Choose a reason for hiding this comment

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

use release tag, maybe use official git repo (eg. https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/snapshot/lwip-contrib-STABLE-2_1_0_RELEASE.tar.gz)?

is contrib only needed for unix port? (host testing?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

lwip-tests/build.sh Outdated Show resolved Hide resolved
lwip-tests/build.sh Outdated Show resolved Hide resolved
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