Skip to content
Snippets Groups Projects
Select Git revision
  • c19036f4e836b0f60d1aaeb9db1b459f6c3c4026
  • release default protected
  • XX-4719/announcementChannels
  • jonah/channelCodenames
  • master protected
  • XX-4601/HavenInvites
  • sihSize
  • project/HavenNotifications
  • hotfix/base8KeySizes
  • Anne/Project/DM
  • XX-4004_ownership_vector_test
  • XX-3566_constant_time_comparison
  • XX-4132-upgrade-channel-keying
  • XX-4133-rsa-to-private
  • XX-3958/ConnectionCLI
  • xx-3893/asymmetric
  • xx-3891/symmetric-integration
  • hotfix/groupChat
  • XX-3770/UpdateExternalDeps
  • dev
  • waitingRoundsRewrite
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
  • v0.0.1
30 results

database.go

Blame
  • run-tests.sh 1.04 KiB
    #!/bin/sh
    set -e
    
    if [ "$1" = "macos" ]; then
    
      echo "\n\033[1;32m▶ Running package tests on macOS...\033[0m"
      set -o pipefail && swift test 2>&1 | ./xcbeautify
    
    elif [ "$1" = "ios" ]; then
    
      echo "\n\033[1;32m▶ Running package tests on iOS Simulator...\033[0m"
      set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
    
    elif [ "$1" = "examples-ios" ]; then
    
      echo "\n\033[1;32m▶ Running XXMessenger example tests on iOS Simulator...\033[0m"
      set -o pipefail && xcodebuild -workspace 'Examples/xx-messenger/XXMessenger.xcworkspace' -scheme 'XXMessenger' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
    
    else
    
      echo "\n\033[1;31m▶ Invalid option.\033[0m Usage:"
      echo "  run-tests.sh macos        - Run package tests on macOS"
      echo "  run-tests.sh ios          - Run package tests on iOS Simulator"
      echo "  run-tests.sh examples-ios - Run iOS examples tests"
      exit 1
    
    fi