-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #7 Refactoring the criterion tests to libcheck #24
Merged
olemis
merged 107 commits into
skycoin:v0.25dev
from
simelo:stdevAlDen_t7_refactor_in_tests
May 5, 2019
Merged
Changes from 104 commits
Commits
Show all changes
107 commits
Select commit
Hold shift + click to select a range
7e98958
refs #2 Define type arch in make test_libc && added test arm in travis
5f16e70
refs #2 Added qemu in travis
c20c159
refs #2 Declare GOARCH the arm
0bcd458
refs #2 Changes rename GOARCH=> ARCHGO in travis
1b5008f
refs #2 Changes in makefile, to manage the architecture 32 bits.
754545e
refs #2 Correction in the travis installation script
85633af
refs #2 Remove CC=gcc-6 the travis.yml
3f12323
refs #2 Changes package install to gcc and g++
b8ed913
refs #2 Changes in the travis, to check 32bits
10b9e13
refs #2 Remove parameter arch
a764d62
refs #2 Only test i386
0dff70f
refs #2 Changes this enable 32bits
f90e411
refs #2 Define by default env CC=i686-linux-gnu-gcc
9485a26
refs #2 Added new package install build-essential in .sh
fbd8574
refs #2 Added new package install python-dev in .sh
372e7c9
refs #2 Changes in the priority of installation of dependencies.
f9989a9
refs #2 Added i686-linux-gnu-gcc to pack install travis
3fedea1
refs #2 Change name package i686-linux-gnu-gcc=>gcc-i686-linux-gnu in…
9f0da6c
refs #2 Change name package gcc-i686-linux-gnu=>gcc-multilib-i686-lin…
b3923e0
refs #2 Added package install in script gcc-7-plugin-dev-i686-linux-gnu
bb80ba8
xUnitTest add the simpler struct for start wrapping up tests framewor…
06ad2b0
Merge branch 'master' into stdevAlDen_t7_refactor_in_tests ref 37
c662440
Merge remote-tracking branch 'simelo/olemis_t1_skycoin_submod' into s…
f993c84
refs #2 Restoring compiler default values
305daaf
refs #2 Changes in the format of the .travis.yml file
1069a77
refs #2 Changes in the format of the .travis.yml file
7379f9d
add assert member to xUnitTest struct ref #7
c9022c4
create_test_framework_wrapper for crterium ref #7
a5dfd84
moved TestAddressNull to shared test to e usedd in hardware-wallet to…
0df9271
refs #2 Delete env CC=i686-linux-gnu-gcc in .travis.yml
c7ee976
refs #2 Delete env CC=i686-linux-gnu-gcc in .travis.yml
d3c8c67
refs #2 Repair error by https://travis-ci.org/skycoin/libskycoin/buil…
30fa046
refactor some functions in a seprate file to be ignored in cgo stage,
2770fe5
refactor lib/cgo/cipher.crypto.hw.go, move import "C" to the top ref #7
7593435
refs #2 Finish remove crash in check_cipher.address
6e57151
refs #2 Added function in skytest by copyGoSlice_toGoSlice
03d18ca
Merge branch 'develop' of https://github.com/skycoin/libskycoin into …
4a019bb
Merge branch 'stdevHan_t2_support_arch' of https://github.com/simelo/…
c78274e
refs #2 Added env to cc=gcc-6
e9fbd12
Merge branch 'develop' of https://github.com/skycoin/libskycoin into …
a04b48a
Merge branch 'develop' of https://github.com/skycoin/libskycoin into …
3bbcc2b
refs #2 Update submodule skycoin/skycoin and added in Makefile parame…
0b8913a
refs #13 - Initial README for libskycoin project
olemis a9b1ca0
[ci] refs #13 - Remove installed version of gcc before installing gcc@6
olemis 3d8ef40
[ci] refs #13 - brew remove gcc4.9
olemis df87e09
[ci] refs #13 - Do not overwrite gcc@6 from 42d31bba7772fb01f9ba442d9…
olemis 043dc82
[ci] refs #13 - Travis images based on trusty (rather than xenial)
olemis 3d64a5a
[ci] refs #13 - Restore overwrite gcc@6 from 42d31bba7772fb01f9ba442d…
olemis be543f0
Merge pull request #14 from simelo/olemis_t13_readme
olemis e7027b4
refs #15 Update submodule to v0.25.1
daca6b4
Merge pull request #16 from simelo/stdevHan_t15_update_0.25.1
olemis 4c67594
refs #20 Adding to lib/cgo/cipher.base58.base58.go the function SKY_b…
59dd2f6
refs #20 Update CHANGELOG, and corrected that travis notifications go…
d6849aa
refs #20 Adding tests using SKY_base58_Hex2Base58
0215b6f
refs #20
80fc2de
refs # Update HANGELOG
1c6532b
refs #20 - Add function `SKY_cipher_Ripemd160FromBytes`
782188a
refs #20 - Add function `SKY_wallet_Entry_SkycoinAddress`
fe16d73
refs #20 - Add function `SKY_wallet_Wallet_GetAddress`
785df27
Remove header metadata from Github PR template
olemis 6e025d2
refs #20 - Add function `SKY_wallet_Wallet_CreateAndSignTransactionAd…
d2397d9
Merge branch 'develop' of https://github.com/skycoin/libskycoin into …
55511a2
refs #20 Repair error in https://travis-ci.org/simelo/libskycoin/jobs…
0ef8b6d
refs #2 Merge branch 'develop' of https://github.com/skycoin/libskyco…
c24759b
refs #2 Update submodule
a4fe7c0
refs #2 Working on conversion of libskycoin tests from criterion to l…
1724d84
refs #2 Changes in types Makefile
423dc4b
refs #2 Comment make install-deps-libc in travis && add package in…
db32a12
refs #2 Changes in ciper.{address, bitcoin,crypto}
e1fbe6b
refs #2 Finish cipher
edee7e7
refs #2 Enable make clean-libc
4efcb88
Merge branch 'stdevHan_t20_export_missing' of https://github.com/sime…
d3fd33b
refs #2 Finish cipher.address && cipher.crypto
f73b20a
refs #2 Add ignore qemu
4698e57
refs #2 Finish cipher
6881b20
Refs #2 Added test coin.[block,coin.math,outputs]
8b5b186
refs #2 Separating the signal from the normal
6a8504c
refs #2 Finish params and coin
eaf80e5
refs #2 Finish write test by libcheck
151baf3
refs #2 Changes in the comparison functions, using the default libche…
1c61eaf
refs #2 Fixed the comparisons for x64
2104378
refs #2 Change value in skyerror by APPLE
ac75a56
refs #2 Change value SKY_ABORT by APPLE
ce2f90c
refs #2 Changing the type of test using the OS
014d393
refs #7 Refactoring the criterion tests to libcheck
27e9c74
refs #7 commented function already defined in another cgo.
ea7d570
[CHANGELOG] refs #7 Putting in the position that corresponds to the d…
d221c5d
[travis][Makefile] refs #7 Adding in the definition of installation o…
87ea8e6
[travis] refs #7 Remove the env CC=gcc-6 in the test run by travis, t…
b154076
[travis] refs #7 Restore the previous configurations in test make tes…
a4704aa
Merge branch 'v0.25dev' of https://github.com/skycoin/libskycoin into…
368020e
[travis] refs #7 Comment all definition in install-travis-gcc.sh, and…
1780f8a
[travis] refs #7 Define CC and CXX to env global
4cc273e
[travis] refs #7 Remove all test and only `make check`
7c8d884
[travis] refs #7 Restore install-travis-gcc.sh
9b5e097
[travis] refs #7 Remove CC and CXX in global env
d0a1634
[libc] refs #7 Repair error in gcc 4.8 in GNU/Linux https://travis-ci…
5c5d072
[test] refs #7 Correcting errors reported by travis in https://travis…
c285530
[test] refs #7 Correcting errors reported by travis in https://travis…
12087ce
[travis] refs #7 Upgrade dist trusty => xenial
aaa837b
[include] [cgo] refs #7 - Rename lib/cgo/skycriterion.h => lib/cgo/sk…
olemis f89926a
[libc] refs #7 - Remove splitCliArgs
olemis cf4f310
[include] refs #7 - Consistent header guard names
olemis 787daa2
[include] refs #7 Deleting unnecessary comment on `cipher.testsuite.t…
ca8ae56
[cgo] refs #7 - Rename lib/cgo/tests/testutils/{libsky_criterion.c =>…
olemis 6e36dc8
[CHANGELOG] refs #7 Restore to v0.25dev
06e7596
[cgo] refs #7 Restoring functions defined in `CGO`, incorporating the…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,3 +160,6 @@ addresses.txt | |
seeds.csv | ||
|
||
histogram | ||
# Ignore compilator by qemu | ||
qemu_* | ||
core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,42 @@ | ||
sudo: required | ||
dist: xenial | ||
language: go | ||
go: | ||
- "1.11.x" | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
dist: xenial | ||
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=45s | ||
- os: osx | ||
# Do not start osx build for PR | ||
osx_image: xcode8 | ||
osx_image: xcode8.3 | ||
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=60s | ||
|
||
before_install: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update -qq; fi | ||
- VERSION=1.10.2 ./ci-scripts/install-golangci-lint.sh | ||
- ./ci-scripts/install-travis-gcc.sh | ||
- eval "CC=gcc-6 && CXX=g++-6" | ||
|
||
env: | ||
global: | ||
- BUILD_DIR: build | ||
- BUILDLIB_DIR: $BUILD_DIR/libskycoin | ||
- LIB_DIR: lib | ||
- CGO_ENABLED: 1 | ||
|
||
install: | ||
# Install gox | ||
- go get github.com/gz-c/gox | ||
- go get -t ./... | ||
- make install-linters | ||
# Install pinned golangci-lint, overriding the latest version install by make install-linters | ||
- VERSION=1.10.2 ./ci-scripts/install-golangci-lint.sh | ||
- ./ci-scripts/install-travis-gcc.sh | ||
# Install pinned golangci-lint, overriding the latest version install by make install-linters | ||
- make install-deps-libc | ||
|
||
script: | ||
- make lint | ||
# libskycoin tests | ||
- CC=gcc-6 make test-libc | ||
- make check | ||
|
||
notifications: | ||
email: | ||
- false | ||
# https://github.com/kvld/travisci-telegram TravisCI Telegram Bot integration | ||
email: false | ||
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
[](https://user-images.githubusercontent.com/26845312/32426705-d95cb988-c281-11e7-9463-a3fce8076a72.png) | ||
|
||
# Skycoin C library | ||
|
||
[![Build Status](https://travis-ci.org/skycoin/libskycoin.svg)](https://travis-ci.org/skycoin/libskycoin) | ||
|
||
Skycoin C library (a.k.a `libskycoin`) exports the Skycoin API to DApps using the C programming language. | ||
It is also the foundation to build client libraries for other programming languages. | ||
|
||
## Links | ||
|
||
* [skycoin.net](https://www.skycoin.net) | ||
* [Skycoin Blog](https://www.skycoin.net/blog) | ||
* [Skycoin Docs](https://www.skycoin.net/docs) | ||
* [Skycoin Blockchain Explorer](https://explorer.skycoin.net) | ||
* [Skycoin Development Telegram Channel](https://t.me/skycoindev) | ||
* [Skycoin Github Wiki](https://github.com/skycoin/skycoin/wiki) | ||
|
||
## Subprojects | ||
|
||
The Skycoin C library is made of the following components | ||
|
||
- `lib/cgo` : C wrappers for the Skycoin core API | ||
- `lib/swig` : SWIG interfaces to generate wrappers around the Skycoin core API for other programming languages | ||
|
||
Consult respective `README` files for further details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move under
Added
sectionThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok