This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch split-it-tests
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit bd1d3c292050ea084d331dfc218e5778852b006e
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Nov 23 11:09:26 2022 +0100

    Split Makefile in multiple targets (AWS, Misc etc.)
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 it-tests/Makefile | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

diff --git a/it-tests/Makefile b/it-tests/Makefile
index 28336809..f45c1245 100644
--- a/it-tests/Makefile
+++ b/it-tests/Makefile
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-tests:
+all:
        mkdir -p tests
        cd aws/aws-s3/source/ && \
        ./aws-s3-log-it-test.sh $(camel-version)
@@ -38,6 +38,36 @@ tests:
        cd misc/sftp/sink/ && \
        ./timer-sftp-it-test.sh $(camel-version)
        ./scripts/results.sh
+       rm -rf tests    
+aws:
+       mkdir -p tests
+       cd aws/aws-s3/source/ && \
+       ./aws-s3-log-it-test.sh $(camel-version)
+       cd aws/aws-s3/sink/ && \
+       ./timer-aws-s3-it-test.sh $(camel-version)
+       cd aws/aws-kinesis/source/ && \
+       ./aws-kinesis-log-it-test.sh $(camel-version)
+       cd aws/aws-kinesis/sink/ && \
+       ./timer-aws-kinesis-it-test.sh $(camel-version)
+       cd aws/aws-sqs/source/ && \
+       ./aws-sqs-log-it-test.sh $(camel-version)
+       cd aws/aws-sqs/sink/ && \
+       ./timer-aws-sqs-it-test.sh $(camel-version)
+       cd aws/aws-sqs-fifo/sink/ && \
+       ./timer-aws-sqs-fifo-it-test.sh $(camel-version)
+       cd aws/aws-sns/sink/ && \
+       ./timer-aws-sns-it-test.sh $(camel-version)
+       cd aws/aws-kinesis-firehose/sink/ && \
+       ./timer-aws-kinesis-firehose-it-test.sh $(camel-version)
+       ./scripts/results.sh
+       rm -rf tests
+misc:
+       mkdir -p tests
+       cd misc/sftp/source/ && \
+       ./sftp-log-it-test.sh $(camel-version)
+       cd misc/sftp/sink/ && \
+       ./timer-sftp-it-test.sh $(camel-version)
+       ./scripts/results.sh
        rm -rf tests
        
-.PHONY: tests clean
+.PHONY: all aws misc clean

Reply via email to