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

Cleanup translib and cvl go test cases #13

Merged
merged 6 commits into from
Jul 9, 2020

Commits on Jun 27, 2020

  1. Configuration menu
    Copy the full SHA
    bf68bc9 View commit details
    Browse the repository at this point in the history
  2. Corrected default cvl schema path

    Default cvl schema path is now same as the install path. Env varibale
    CVL_SCHEMA_PATH need not be set if schema files are installed from
    sonic-mgm-common.deb package. This simplifies testing.
    sachinholla committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    bcf1ba5 View commit details
    Browse the repository at this point in the history
  3. Custom yang search path for transformer

    Modified transformer to accept custom yang search path through env
    variable YANG_MODELS_PATH. Falls back to default path /usr/models/yang
    if this env variable is not set. Helps quick testing without install.
    sachinholla committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    ed41de1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2020

  1. Configuration menu
    Copy the full SHA
    e7711a1 View commit details
    Browse the repository at this point in the history
  2. Translib gotest enhancements

    1) Introduced new test app module api_tests_app.go which handles paths
    starting with "/api-tests:". It returns success or error based on data
    in the path. Useful for testing end-to-end functionality from translib
    clients, like REST server, without depending on actual app modules.
    
    2) api_tests_app.go will compile only when build tag "test" is set.
    Translib makefile sets it during translib test binary compilation only.
    
    3) Temporarily excluded ACL app test code from translib test binary. It
    will be added back later once all errors are fixed. ACL app tests can
    still be run from source. Moved TestMain function and common utilities
    to a new app_utils_test.go go file.
    
    Signed-off-by: Sachin Holla <sachin.holla@broadcom.com>
    sachinholla committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    c5bdd6e View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. Configuration menu
    Copy the full SHA
    670ec6a View commit details
    Browse the repository at this point in the history