mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
52 lines
2.3 KiB
Bash
Executable File
52 lines
2.3 KiB
Bash
Executable File
#! /usr/bin/env sh
|
|
go clean --cache
|
|
./test.sh
|
|
gen=$?
|
|
echo 'go test github.com/cgrates/cgrates/apier/v1 -tags=integration -rpc=*gob'
|
|
go test github.com/cgrates/cgrates/apier/v1 -tags=integration -rpc=*gob
|
|
ap1=$?
|
|
echo 'go test github.com/cgrates/cgrates/apier/v2 -tags=integration -rpc=*gob'
|
|
go test github.com/cgrates/cgrates/apier/v2 -tags=integration -rpc=*gob
|
|
ap2=$?
|
|
# echo 'go test github.com/cgrates/cgrates/engine -tags=integration'
|
|
# go test github.com/cgrates/cgrates/engine -tags=integration
|
|
# en=$?
|
|
# echo 'go test github.com/cgrates/cgrates/cdrc -tags=integration'
|
|
# go test github.com/cgrates/cgrates/cdrc -tags=integration
|
|
# cdrc=$?
|
|
# echo 'go test github.com/cgrates/cgrates/ers -tags=integration'
|
|
# go test github.com/cgrates/cgrates/ers -tags=integration
|
|
# ers=$?
|
|
# echo 'go test github.com/cgrates/cgrates/config -tags=integration'
|
|
# go test github.com/cgrates/cgrates/config -tags=integration
|
|
# cfg=$?
|
|
# echo 'go test github.com/cgrates/cgrates/utils -tags=integration'
|
|
# go test github.com/cgrates/cgrates/utils -tags=integration
|
|
# utl=$?
|
|
# echo 'go test github.com/cgrates/cgrates/general_tests -tags=integration'
|
|
# go test github.com/cgrates/cgrates/general_tests -tags=integration
|
|
# gnr=$?
|
|
# echo 'go test github.com/cgrates/cgrates/agents -tags=integration'
|
|
# go test github.com/cgrates/cgrates/agents -tags=integration
|
|
# agts=$?
|
|
# echo 'go test github.com/cgrates/cgrates/sessions -tags=integration'
|
|
# go test github.com/cgrates/cgrates/sessions -tags=integration
|
|
# smg=$?
|
|
# echo 'go test github.com/cgrates/cgrates/migrator -tags=integration'
|
|
# go test github.com/cgrates/cgrates/migrator -tags=integration
|
|
# mgr=$?
|
|
# echo 'go test github.com/cgrates/cgrates/dispatchers -tags=integration'
|
|
# go test github.com/cgrates/cgrates/dispatchers -tags=integration
|
|
# dis=$?
|
|
# echo 'go test github.com/cgrates/cgrates/loaders -tags=integration'
|
|
# go test github.com/cgrates/cgrates/loaders -tags=integration
|
|
# lds=$?
|
|
# echo 'go test github.com/cgrates/cgrates/services -tags=integration'
|
|
# go test github.com/cgrates/cgrates/services -tags=integration
|
|
# srv=$?
|
|
# echo 'go test github.com/cgrates/cgrates/apier/v1 -tags=offline'
|
|
# go test github.com/cgrates/cgrates/apier/v1 -tags=offline
|
|
# offline=$?
|
|
|
|
exit $gen && $ap1 && $ap2 #&& $en && $cdrc && $cfg && $utl && $gnr && $agts && $smg && $mgr && $dis && $lds && $ers && $srv && $offline
|