Skip to main content

CIJOE: liblightnvm package

Project description

cijoe-pkg-liblightnvm: cijoe testcases and testplans for liblightnvm

PyPI Build Status

Install

The package is distributed via PyPi, run the following to command to install:

Install cijoe-pkg-liblightnvm system-wide via the pip:

sudo pip install cijoe-pkg-liblightnvm

Or install it user-level:

pip install --user cijoe-pkg-liblightnvm

Create environment definition for CIJOE

Run CIJOE interactively and define the target environment:

# Start cijoe
cijoe

# Use refence definitions as a template for defining your environment
cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh
tail -n +2 $CIJ_ENVS/refenv-liblightnvm.sh >> target_env.sh

# Open up your favorite editor and modify accordingly
vim target_env.sh

Create virtual environment definition for CIJOE

Run CIJOE interactively and define the target environment:

# Start cijoe
cijoe

# Use refence definitions as a template for defining your environment
cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh

# The following is the qemu variables to define
tail -n +2 $CIJ_ENVS/qemu.sh >> target_env.sh

# Lastly, the variables used by liblightnvm testcases
tail -n +2 $CIJ_ENVS/refenv-liblightnvm.sh >> target_env.sh

# Open up your favorite editor and modify accordingly
vim target_env.sh

Running tests

Start the test-runner and view the report:

# Create directory to store results
RESULTS=$(mktemp -d trun.XXXXXX -p /tmp)

# Run using the testplan for Open-Channel 2.0 devices
cij_runner \
    $CIJ_TESTPLANS/OCSSD_S20_IOCTL.plan \
    target_env.sh \
    --output $RESULTS

# Create test report
cij_reporter $RESULTS

# Inspect the test-report
xdg-open $RESULTS/report.html

If you find bugs or need help then feel free to submit an Issue. If you want to get involved head over to the GitHub page to get the source code and submit a Pull request with your changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cijoe-pkg-liblightnvm-0.0.13.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file cijoe-pkg-liblightnvm-0.0.13.tar.gz.

File metadata

  • Download URL: cijoe-pkg-liblightnvm-0.0.13.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for cijoe-pkg-liblightnvm-0.0.13.tar.gz
Algorithm Hash digest
SHA256 b9f70563a15605ba9edfcc9f2dd8a7fb76034c26c139abf182b79ddf0437031c
MD5 eb7970675164183bfe7ba3f037ba31be
BLAKE2b-256 e156827dc588edad667a9b5ecd380e9bcad7857e08cdfdcbec5855d5734b2dbb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page