HomePhabricator

[cmake] Fix json test generation

Description

[cmake] Fix json test generation

Summary:
Explicitly create dir "[build directory]/src/test/data".

Right now, make check will fail for "out-of-source build" -- OUTPUT not being able to create the *.json.h files. The error occurred on my env (a box running Mac OS X), also tested on a Ubuntu instance, same result. Creating the dir solves the problem.

Test Plan:

mkdir build && cd build
cmake ..
make check

Reviewers: #bitcoin_abc, schancel, deadalnix, O1 Bitcoin ABC

Reviewed By: #bitcoin_abc, schancel, deadalnix, O1 Bitcoin ABC

Subscribers: jasonbcox, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1613

Details

Provenance
weipinAuthored on Jul 30 2018, 13:36
weipinPushed on Aug 4 2018, 00:22
Reviewer
Restricted Project
Differential Revision
D1613: [cmake] Fix json test generation
Parents
rABC8400e7e5772e: Various nits in pubkey.cpp
Branches
Unknown
Tags
Unknown