8000 Tags · enfabrica/enkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: enfabrica/enkit

Tags

v31

Toggle v31's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
linux/defs.bzl: fix the outputs of kernel_module (#520)

kernel_module returned as an output only the symvers file and not the ko
file.

Example run before this commit:
$ bazel build driver/core:enf
Target //driver/core:enf up-to-date:
  bazel-bin/driver/core/enf-ubuntu-impish-minimal/enf.ko.symvers
  bazel-bin/driver/core/enf-ubuntu-impish-generic/enf.ko.symvers

Example run with this commit:
$ bazel build driver/core:enf
Target //driver/core:enf up-to-date:
  bazel-bin/driver/core/enf-ubuntu-impish-minimal/enf.ko
  bazel-bin/driver/core/enf-ubuntu-impish-minimal/enf.ko.symvers
  bazel-bin/driver/core/enf-ubuntu-impish-generic/enf.ko
  bazel-bin/driver/core/enf-ubuntu-impish-generic/enf.ko.symvers

Signed-off-by: George Prekas <george@enfabrica.net>

v30

Toggle v30's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update kunit result parsing (#511)

* kunit: unmodified import of kunit scripts from enf/impish-19.19

This patch is a direct, unmodified import of the tools/test/kunit/*.py
scripts from our enf/impish-19.19 kernel branch.

Signed-off-by: Curt Brune <curt@enfabrica.net>

* kunit: remove dependence of kernel source tree

The kunit.py has several sub-commands that require the entire kernel
source tree to be present.  For parsing kunit test results, however,
we do not need the kernel tree.

This patch removes a check for the kernel root directory.

Signed-off-by: Curt Brune <curt@enfabrica.net>

* kunit: munge the test result to contain the number of test suites

As elaborated on in SF-73, our kunit test results are lacking the
number of test suites run, which blows up the kunit test result
parser.

This patch does a quick "grep and wc" to determine the number of test
suites and updates the test result.

Fixes: SF-73

Signed-off-by: Curt Brune <curt@enfabrica.net>

v29

Toggle v29's commit message
bazel/bats: configure it in a way so it is usable from other repos.

Background:
bats is a unit testing framework for shell scripts.
When using @// syntax to refer to a file, it always refers to the
current workspace. Eg, if the defs.bzl is invoked from a repository
by a namespace called internal, @// will refer to "internal".

In this change:
- use @enkit - so the BUILD.*.bazel files can be used from other
  repositories without copying them.
- import bats_file library, so we have the full set of tools.

v28

Toggle v28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
gee: unbreak gui mergetool for older versions of git (#300)

* support older git that doesn't implement guitool

* version -> 0.2.8

v27

Toggle v27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revert "kunit: Sync kunit scripts to Ubuntu impish" (#297)

This update has caused multiple issues in my testing since we merged
this as part of a larger PR. The existing kunit scripts work with Impish
just fine as well.

This reverts commit 045dba8.

v26

Toggle v26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bazel astore: Create function to format astore URLs (#253)

This change adds an `astore_url` function that can be used to return a
formatted URL for a particular package + version tuple. This allows
WORKSPACE file authors to think in terms of this tuple rather than
having to encode/decode astore URLs manually.

This turns:

```
kernel_tree_version(
    name = "enfvm-ubuntu-hirsute",
    package = "enfvm-5.11.22+enf-1634151087-g17b4193",
    sha256 = "37f4d4b270854b65416a2d071f4fc06b50262eb11ad32ee38f5e9143b9f5a624",
    url = "https://astore.corp.enfabrica.net/d/kernel/enf/hirsute-25.27/vm/enf-kernel.tar.gz",
)
```

into:

```
kernel_tree_version(
    name = "enfvm-ubuntu-hirsute",
    package = "enfvm-5.11.22+enf-1634151087-g17b4193",
    sha256 = "37f4d4b270854b65416a2d071f4fc06b50262eb11ad32ee38f5e9143b9f5a624",
    url = astore_url(
        package = "/kernel/enf/hirsute-25.27/vm/enf-kernel.tar.gz",
        uid = "h6rdi5rdeu44pndi75icc8szk6bm8dnj",
    ),
)
```

Tested: Locally in internal with the above change, while overriding the
`enkit` dependency with this change.

v25

Toggle v25's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
kbuild: update error message with incorrect kernel dependencies (#231)

* kbuild: update error message with incorrect kernel dependencies

Background:
Two kernel modules can only be linked to one another if they are built
against the same kernel version.

In this PR:
- update the error message printed if one of the dependencies is not built with the correct kernel.

* Slightly better message.

v24

Toggle v24's commit message

v23

Toggle v23's commit message

v22

Toggle v22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
"share" command + cosmetics (#154)

* repair: a little more verbose.

* add share command

* lspr can inspect other users

* figlet logo

* more aliases

* fix pwd, add test_deploy

* Make --help work.

* mkbr: fix pull operation

* Fixed corruption of PARENTS file.
0