我们需要(重新)产生对第三方软件包EL7,但我们不希望改变SPEC文件的建议(%define debug_package %{nil} https://www.redhat.com/archives/shrike-list/2003-April/msg00069.html)和既不~/.rpmmacros像在RPM构建的共享框上那样更改文件.
有没有办法通过命令行(附加参数)来解决这个问题rpmbuild?
我尝试使用junitreport,但 XML 文件内容无法很好地识别。
@dmeister
http://code.google.com/p/googletest/issues/detail?id=114
[...] Google Test 旨在匹配我们的内部工具,这些工具期望 XML 报告与“junit”Ant 任务生成的格式相匹配,该任务以“testsuite”作为根元素。[...]
这是 gtest (1.6.0) 生成的:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="1" failures="0" disabled="0" errors="0" time="0" name="AllTests">
<testsuite name="SimpleTest" tests="1" failures="0" disabled="0" errors="0" time="0">
<testcase name="Test_1" status="run" time="0" classname="SimpleTest" />
</testsuite>
</testsuites>
Run Code Online (Sandbox Code Playgroud)
这是junitreport返回的错误消息:
SimpleTest.xml 不是有效的测试套件 XML 文档
我写这样的标准查询
query.addCriteria(Criteria.where("_id").is(id));
Run Code Online (Sandbox Code Playgroud)
但结果{"_id":123456789123450}不是搜索结果。我需要更改什么才能使用条件查询来搜索结果_id?
例如,以下类型之间的区别是什么/何时/何时使用它们?
int64_tint_least64_tint_fast64_t