bid request:
{
"eventName": "offerBid",| cov: | |
| @swift test --enable-code-coverage | |
| @xcrun llvm-cov show .build/debug/evm-swiftPackageTests.xctest/Contents/MacOS/evm-swiftPackageTests \ | |
| -instr-profile=.build/debug/codecov/default.profdata \ | |
| --ignore-filename-regex="Tests/.*|\.build/.*" \ | |
| -format=html \ | |
| -output-dir=coverage/html | |
| test-fails: | |
| @swift test 2>&1 | grep -E "Test Case .* failed|error:" |
| #!/bin/bash | |
| swift test 2>&1 | awk ' | |
| /error:/ { | |
| # Use regular expression to capture required parts | |
| # Regex Breakdown: | |
| # ^(.+\/)?([^:]+\.swift):([0-9]+): error: -\[(.*?)\] : expected to equal <([^>]+)>, got <([^>]+)> | |
| regex = "^(.+\\/)?([^:]+\\.swift):([0-9]+): error: -\\[(.*?)\\] : expected to equal <([^>]+)>, got <([^>]+)>" | |
| if (match($0, regex, m)) { | |
| # m[2]: Filename (e.g., MyTests.swift) |
| { | |
| "title": "# Numeric Keypad", | |
| "rules": [ | |
| { | |
| "description": "Numeric Keypad Arrows", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "keypad_2" |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| ) | |
| func main() { |
| # Make sure you grab the latest version | |
| curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip | |
| # Unzip | |
| unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 | |
| # Move protoc to /usr/local/bin/ | |
| sudo mv protoc3/bin/* /usr/local/bin/ | |
| # Move protoc3/include to /usr/local/include/ |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| var m = make(map[string]int32) | |
| var wg = sync.WaitGroup{} |
| WARNING: DATA RACE | |
| Write at 0x0000008f5418 by goroutine 38: | |
| git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.TestSendEvent.func1.3() | |
| /home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/sender_test.go:245 +0x257 | |
| github.com/smartystreets/goconvey/convey.parseAction.func1() | |
| /home/evgeny/go/src/github.com/smartystreets/goconvey/convey/discovery.go:80 +0x3d | |
| github.com/smartystreets/goconvey/convey.(*context).conveyInner() | |
| /home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:261 +0x1a9 | |
| github.com/smartystreets/goconvey/convey.(*context).Convey.func1() | |
| /home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:163 +0x92 |
| version: '3' | |
| services: | |
| broker: | |
| image: 292964376226.dkr.ecr.us-east-1.amazonaws.com/ddpool/broker:v0.2 | |
| environment: | |
| - MONGO_URL=mongodb://mongo:27017 | |
| links: | |
| - mongo | |
| depends_on: | |
| - mongo |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Proxy tester</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(function() { | |
| var conn; | |
| var msg = $("#msg"); |