Skip to content

Commit 87c0311

Browse files
committed
chore: convert case apache_maven_yaml_input_no_deps_and_skip_deps
Signed-off-by: Nathan Nguyen <[email protected]>
1 parent 1d0852e commit 87c0311

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed

scripts/dev_scripts/integration_tests.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,6 @@ $RUN_POLICY -d $DB -f $OUTPUT_POLICY || log_fail
120120

121121
# python $COMPARE_DEPS $DEP_RESULT $DEP_EXPECTED || log_fail
122122

123-
# Analyze apache/maven.
124-
echo -e "\n=================================================================================="
125-
echo "Run integration tests with configurations for apache/maven..."
126-
echo -e "==================================================================================\n"
127-
128-
echo -e "\n----------------------------------------------------------------------------------"
129-
echo "apache/maven: Check the resolved dependency output when automatic dependency resolution is skipped."
130-
echo -e "----------------------------------------------------------------------------------\n"
131-
DEP_RESULT=$WORKSPACE/output/reports/maven/org_apache_maven/maven/dependencies.json
132-
DEP_EXPECTED=$WORKSPACE/tests/dependency_analyzer/expected_results/skipdep_apache_maven.json
133-
run_macaron_clean $ANALYZE -c $WORKSPACE/tests/dependency_analyzer/configurations/maven_config.yaml --skip-deps || log_fail
134-
135-
check_or_update_expected_output $COMPARE_DEPS $DEP_RESULT $DEP_EXPECTED || log_fail
136-
137123
echo -e "\n----------------------------------------------------------------------------------"
138124
echo "Test using the default template file."
139125
echo -e "----------------------------------------------------------------------------------\n"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (c) 2024 - 2024, Oracle and/or its affiliates. All rights reserved.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
3+
4+
description: |
5+
Check the e2e output JSON file with yaml input containing no dependency and skipping dependency resolution.
6+
7+
steps:
8+
- name: Run macaron analyze
9+
kind: analyze
10+
options:
11+
command_args:
12+
- -c
13+
- maven_config.yaml
14+
- --skip-deps
15+
- name: Compare dependency report
16+
kind: compare
17+
options:
18+
kind: deps_report
19+
result: output/reports/maven/org_apache_maven/maven/dependencies.json
20+
expected: dependencies.json

0 commit comments

Comments
 (0)